http://bugs.winehq.org/show_bug.cgi?id=7235
------- Additional Comments From bdonlan@gmail.com 2007-06-03 14:50 ------- Created an attachment (id=5258) --> (http://bugs.winehq.org/attachment.cgi?id=5258&action=view) setlocale() test program
I have used the attached test program to verify my C library supports ja_JP:
bd@shion:~$ gcc -o testlocale testlocale.c bd@shion:~$ ./testlocale LC_ALL(6) = en_US.UTF-8 LC_CTYPE(0) = en_US.UTF-8 bd@shion:~$ LC_ALL=ja_JP ./testlocale LC_ALL(6) = ja_JP LC_CTYPE(0) = ja_JP
Somehow wine is not using setlocale() properly, or clobbering the environment variables before calling it.