ucs2utf8
outlen = ucs2utf8(in, out ? p : out, m);
static int ucs2utf8(const u_int16_t *, u_int8_t *, int);