lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Dec 04, 2006 at 12:46:12PM -0600, Matt Campbell wrote:
> Klaus Ripke wrote:
> >- else it might be a 16bit value, which means trouble.
> 
> Aside from the MS C runtime library on Windows, do you know of any cases 
> where wchar_t is 16-bit?
No. But according to
http://www.gnu.org/software/libc/manual/html_node/Extended-Char-Intro.html
"Some Unix systems define wchar_t as a 16-bit type"

Ten years ago the misconception that "Unicode has 65536 characters"
was even more widespread than today, and besides windows it is
still reflected in Java's braindead 16-bit char type.


regards