C++ implementation: UTF conversion