|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Java/Unicode brain damage
David Brownell commented:
> > <interesting-thought>If you really want to work internally in UTF-16 or
> > UTF-32 in C, get yourself a processor with a 16- or 32-bit byte and a
> > Standard C for it
>
> Actually, I'd expect the "wchar_t" type to be either 16 bits (most
machines)
> or 32 bits (many SVr4 derived distributions) ... and there are standard
> libraries to work with "wchar" strings.
I have experience with compilers that implement wchar_t as 8 bits. (Yes, 8.
the standard allows it. I suppose they figured they had other priorities, or
they couldn't find somebody who knew how to implement enough of truly wide
wchar_t libraries to make it worthwhile. I should have volunteered?)
I have seen advice to avoid using wchar_t for Unicode, because of the wide
array of interpretations on what it should mean and the poor implementations
of locales.
And Microsoft has also avoided wchar_t. (Wait. Let me think a little more
about the implications of that, . . . .)
Joel Rees
programmer -- rees@m...
----------------------------------------------------
To be a tree supporting all information,
giving root to the chaos
and branches to the trivia,
information breathing anew --
This is the aim of Yggdrasill.
============================XML as Best Solution===
Media Fusion Co. ,Ltd. 株式?社????????????
Amagasaki TEL 81-6-6415-2560 FAX 81-6-6415-2556
Tokyo??TEL 81-3-3516-2566 ??FAX 81-3-3516-2567
http://www.mediafusion.co.jp
===================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








