Skip to contentSkip to conversation

Add USC-2 to UTF-8 conversion utility function.

PATCH Denis Kenzior 1 participant 1 message Jul 6, 2009

lore
Share & tools
lore
#0 lore raw

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