7 #include "mono/io-layer/wapi.h"
10 /* This is a nasty kludge */
11 static guint32 unicode_len(const gunichar2 *str)
16 if(str[len]=='\0' && str[len+1]=='\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);