bmp_to_utf8
j = bmp_to_utf8(NULL, uni + i, unilen - i);
j = bmp_to_utf8(asctmp + asclen, uni + i, unilen - i);