[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Java/Unicode brain damage

  • From: Joel Rees <rees@s...>
  • To: xml-dev@l...
  • Date: Mon, 30 Jul 2001 17:11:33 +0900

wchar java

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.