utf8_fromwc
enum utf8_state utf8_fromwc(wchar_t wc, struct utf8_data *);
if (utf8_fromwc(nkey, &ud) == UTF8_DONE &&