You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Markus Scherer <ma...@jtcsv.com> on 2001/08/02 00:32:08 UTC

Re: Ascii/binary detection. - Unicode

Branko �ibej wrote:
> Unicode would be, for instance, "svn:content-type = text/plain;
> charset=UCS-2". Not that we'll support Unicode (or ISO10646) directly in 1.0

No, at least not if text/* means anything related to MIME.

UCS-2 (by the way, deprecated and superceded by UTF-16) is a 16-bit encoding, which means that its byte-serialized encoding scheme uses all byte values including 0. This is incompatible with MIME text/* types.

text/* must be byte-oriented, avoid control codes and 0, use CRLF line endings (you said earlier that you don't care about this restriction in svn), and are (must be? not sure) ASCII-based.

However, "svn:content-type = text/plain; charset=UTF-8" would work.
With UTF-8, you do support Unicode already, right? :-)

markus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org