Hi, The rest of the codebase uses g_convert which handles the necessary magic of invoking iconv. So this function is really not necessary, use g_convert(buf, bufsize, "UTF-8//TRANSLIT", "UCS-2BE",... instead. Regards, -Denis