ConvertUTF imported from Clang