11 #include "mono/io-layer/wapi.h"
14 /* This is a nasty kludge */
16 unicode_len (const gunichar2 *str)
21 if (str [len] == '\0')
28 gchar *_wapi_unicode_to_utf8(const gunichar2 *uni)
34 len = unicode_len(uni);
36 res = g_utf16_to_utf8 (uni, len, NULL, NULL, &error);