Attempt at using C++11's codecvt for conversion. No success.
Rolling my own Unicode conversion after all. I can't make codecvt work, and utfcpp only does the work if one of the involved encodings is UTF8.