comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: System.WCh_Cnv
Date: Mon, 24 Jul 2006 18:35:00 -0500
Date: 2006-07-24T18:35:00-05:00	[thread overview]
Message-ID: <ueGdnfYQ75V5xVjZnZ2dnUVZ_radnZ2d@megapath.net> (raw)
In-Reply-To: Sxaxg.10370$E02.3445@newsb.telia.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

"Bj�rn Persson" <spam-away@nowhere.nil> wrote in message
news:Sxaxg.10370$E02.3445@newsb.telia.net...
>...
> How about a *hypothetical* counter-example? If you had a character with
> the code point 100000000 hexadecimal, how would you encode it in UTF-32?
> I believe it's impossible; I believe UTF-32 is a fixed-width encoding.

It would have to be hypothetical: Unicode is a 31-bit character set. Note
that I said 31 bits, not 32-bits.

Thus, UTF-32 and UCS-4 are the same *if encoding Unicode characters*.
(UTF-32 would need extra bytes to encode 32-bit characters with the high bit
on, but those would not be Unicode characters.)

Of course, some future character set could use more then 31-bits, but that
seems well into the future.

                         Randy Brukardt.





  reply	other threads:[~2006-07-24 23:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-12 14:13 System.WCh_Cnv Y.Tomino
2006-07-12 15:51 ` System.WCh_Cnv Martin Krischik
2006-07-12 18:57   ` System.WCh_Cnv Björn Persson
2006-07-13 17:24   ` System.WCh_Cnv demoonlit
2006-07-13 21:30     ` System.WCh_Cnv Björn Persson
2006-07-14  7:19       ` System.WCh_Cnv Dmitry A. Kazakov
2006-07-14  7:40       ` System.WCh_Cnv Martin Krischik
2006-07-14 12:18         ` System.WCh_Cnv Björn Persson
2006-07-16 11:41           ` System.WCh_Cnv Martin Krischik
2006-07-24 21:00             ` System.WCh_Cnv Björn Persson
2006-07-24 23:35               ` Randy Brukardt [this message]
2006-07-25  0:45                 ` System.WCh_Cnv Marius Amado-Alves
2006-07-14 16:13         ` System.WCh_Cnv Georg Bauhaus
2006-07-12 18:57 ` System.WCh_Cnv Björn Persson
2006-07-13 17:34   ` System.WCh_Cnv demoonlit
     [not found] <8BB3B99E-16DA-4EBF-A2FE-50B079349CA9@amado-alves.info>
2006-07-25  0:45 ` System.WCh_Cnv Marius Amado-Alves
     [not found] <EBEKJMEEPPFAACCBBGNHAELNDIAA.randy@rrsoftware.com>
2006-07-25 10:31 ` System.WCh_Cnv Marius Amado-Alves
2006-07-25 12:21   ` System.WCh_Cnv Dmitry A. Kazakov
2006-07-25 13:03     ` System.WCh_Cnv Marius Amado-Alves
2006-07-25 13:36       ` System.WCh_Cnv Dmitry A. Kazakov
2006-07-25 14:09       ` System.WCh_Cnv Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox