7 #include "mono/io-layer/wapi.h"
10 /* This is a nasty kludge */
12 unicode_len (const gunichar2 *str)
17 if (str [len] == '\0')
24 gchar *_wapi_unicode_to_utf8(const gunichar2 *uni)
30 len = unicode_len(uni);
32 res = g_utf16_to_utf8 (uni, len, NULL, NULL, &error);