c++ - How to convert (not necessarily programmatically) between Windows' wchar_t and GCC/Linux one? -


suppose have windows wchar_t string:

l"\x4f60\x597d" 

and

l"\x00e4\x00a0\x597d" 

and convert (not programmatically; one-time thing) gcc/linux wchar_t format, utf-32 afaik. how do it? (a general explanation nice, example based on concrete case helpful well)

please don't direct me character conversion sites. convert l"\x(something)" form , not "end character" form.

one of used libraries character conversion icu library http://icu-project.org/ e.g. used boost http://www.boost.org/ libraries.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -