[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Ascii/binary detection. - Unicode

From: Markus Scherer <markus.scherer_at_jtcsv.com>
Date: 2001-08-02 02:32:08 CEST

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? :-)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:34 2006

This is an archived mail posted to the Subversion Dev mailing list.