Random832 <random...@fastmail.us> writes: > On 04/13/2013 07:07 PM, Aurélien Aptel wrote: >> The ISO/IEC 10646:2003 Unicode standard 4.0 says that: >> >> "The width of wchar_t is compiler-specific and can be as small as >> 8 bits. Consequently, programs that need to be portable across any C >> or C++ compiler should not use wchar_t for storing Unicode text. The >> wchar_t type is intended for storing compiler-defined wide characters, >> which may be Unicode characters in some compilers." >> >> utf-8 is rather straightforward to handle and process. >> > Okay, but why not work with a unicode code point as an int?
That would not be UTF-8, but UCS-4. I don't think Xlib can handle that natively. -- \ Troels /\ Henriksen