This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ v3 wants more libio functions now
On Tue, Jul 25, 2000 at 01:43:34PM -0700, Geoff Keating wrote:
> If ISO 10646 ever adds characters outside the first 65536 code points,
> which they are planning to do, it wouldn't be possible to represent
> them in a 16-bit wchar_t as single characters. This makes many
> operations using these characters much harder. For instance, they
> probably couldn't be used as digits, or as whitespace.
When the C standard committee added wchar_t it was so that all target
characters are the same size and have a unique representation. This means all
target characters, not just the characters to support alphabetic languages
(which at the time IIRC, left out Korean, Japanese, and Chinese). I remember
arguing this point with the Unicode forces 10 years ago when I was the OSF
representative to ANSI X3J11 (C committee), as well the OSF representative in
the 10646 committee arguing the same point to no avail.
Sigh......
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482