Search code examples
c++utf-8portabilityutf-16

How to convert UTF-8 <-> UTF16 portable


is there a simple, portable way (win32, linux at least) to convert UTF-16 to UTF-8 and back? Preferably using boost.

Thx for your help, Tobias


Solution

  • Both libiconv and icu can do this.