Re: Wide character support enabling

Leon Bottou <[email protected]> Fri, 17 Feb 2006 18:15:13 -0500
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On Friday 17 February 2006 03:09 pm, Raymond Martin wrote:
> I have read that more recent implementations of wchar_t can easily map to unicode
> and that the regular C string functions work with multi-byte characters now. Will
> have to do some more experimenting on this.

Not so simple.

On Linux, the wchar_t type uses unicode encoding on 32 bits
and does not depend on the locale. But this is not the 
case under Solaris. On Windows, the wchar_t has only 16 bits. 
Therefore unicode characters beyond 64K are coded on two words.

- L.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642