Markus Kuhn writes: > > mbstate_t ps; > > > > mbrtowc(NULL, NULL, 0, &ps); > > This is a bug in your program, not in glibc.
You are right. I'll update the mbrtowc manual page to be clearer on this issue. Bruno -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
