On Mon, Jun 11, 2007, Stefan Taferner wrote:
setlocale(LC_CTYPE, "") sets the locale to nothing -- what you probably meant is setlocale(LC_CTYPE, 0) ... just to clarify things, in case somebody wants to use the knowledge of these emails later :-)
This contradicts the setlocale(3) man page.
HTH, Johannes