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

Re: charset neutral? pls solve this

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-06-03 01:01:07 CEST

=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:

> You're mixing apples and oranges. UCS-2 indeed can't encode the whole
> range. UTF-16 can. They're not the same.

Nope. You are wrong. Sorry. And I'm not mixing them to any further
extent than to put them both into the "partial ISO-10646 salad".

UTF-16 can encode 65536-2048+1048576 = 1112064 characters.

The whole ISO-10646 range is 2147483648 characters, so UTF-16 only
covers about 0.05%.

Thus, unfortuantely neither the apples nor the oranges are
sufficient. The bananas and the pears (UCS-4 and UTF-8) are though.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 3 01:05:36 2002

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