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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -