C++ UTF encoding conversion routines