- mbsrtowcs/wcsrtombs
- when conversion stopped with terminating-null, set *src null-pointer.
- if dst isn't null, ignore len.
- fix how to treat ___mbrtowc
- mbrtowc
- fix problem that terminating null charactor wasn't stored.
- fix problem with stateful encoding.
(when src points to escape sequence + '\0', mbstate wasn't initialized)
- fix return value when restarted.
XXX euctw and big5 are not tested.
- iso2022-jp
- fix mbrtowc with imcomplete sequence.
- etc
- make sure mbstate is initialized. (___rune_initstate is called)
primarily to fix mbsinit for iso2022.
- sync citrus Id
have magic number check in locale modules.
rename: lib/libc/locale/setlocale_sb.c -> setlocale1.c
NOTE: this commit does not enable multibyte locale support, yet.