General question.
To me, mbrtowc returning 0 for empty input is not surprising.
Also POSIX says for mbr{len,towc} that they shall return 0
"If the next n or fewer bytes complete the character that corresponds to the
null wide character"What am I missing? Pádraig. p.s. there is a small "(size_t) 2" typo in a comment in the patch.
