[PATCH] Add USC-2 to UTF-8 conversion utility function.

Aki Niemi aki at protocolpolice.com
Sun Jul 5 23:51:02 PDT 2009


On Sun,  5 Jul 2009 05:13:45 +0200, Andrzej Zaborowski
<andrew.zaborowski at intel.com> wrote:
> +
> +	ret = g_utf16_to_utf8((const gunichar2 *) buffer, i / 2,
> +			NULL, items_written, &error);

Why not use iconv() with UCS-2BE to UTF-8?

Cheers,
Aki


More information about the ofono mailing list