wchar_t on Solaris 8

Lev Assinovsky LAssinovsky@algorithm.aelita.com
Wed Apr 16 09:08:00 GMT 2003


Solaris Sparc: 4/8 bytes UCS-4LE
Solaris Intel: 4 bytes UCS-4BE

----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


> -----Original Message-----
> From: Benjamin Kosnik [mailto:bkoz@redhat.com]
> Sent: Tuesday, April 15, 2003 9:03 PM
> To: L. Nicoara
> Cc: cxwang_wt@hotmail.com; libstdc++@gcc.gnu.org
> Subject: Re: wchar_t on Solaris 8
> 
> 
> 
> >Also, you may be confused about external vs. internal representation
> >(encoding) of characters. EUC is an external encoding, whereas [for
> >glibc] UCS4 is the internal encoding [for all locales regardless the
> >external encoding].
> 
> See my previous note about linux/glibc. 
> 
> And for Solaris? I thought wchar_t was a 2 byte type with internal
> UCS-2BE encoding?
> 
> I'll put this in the docs since this seems to come up regularly.
> 
> best,
> benjamin
> 



More information about the Libstdc++ mailing list