Markus Scherer wrote:

> I would like to add that ICU 2.0 (in a few weeks) will have convenience functions 
>for in-process string transformations:
>
>     UTF-16 <-> UTF-8
>     UTF-16 <-> UTF-32
>     UTF-16 <-> wchar_t*

Wait.... be careful here. wchar_t is not an encoding. So.. in theory, you cannot 
convert between UTF-16 and wchar_t. You,
however, can convert between UTF-16 and wchar_t* ON win32 since microsoft declare 
UTF-16 as the encoding for wchar_t.
However, that is not universal true. Different platform can chose the size of wchar_t 
and the internal representation of
wchar_t* according to POSIX.

>
>
> markus


Reply via email to