Posted by: Anonymous Coward
on February 12, 2006 08:53 AM
Unicode is a character set, wchar_t is a data type. In theory, wchar_t can be used for other character sets besides Unicode, such as Shift-JIS. If you use Unicode, wchar_t is a good choice to use for in-memory manipulation - for example, a string of five Unicode characters plus null terminator can be stored in the array wchar_t[6]. But it's not the only choice. You can use Unicode without wchar_t, for example you might do in-memory manipulation of arrays of char (UTF-8) or unsigned short int (UTF-16).
Re:Unicode?
Posted by: Anonymous Coward on February 12, 2006 08:53 AM#