Thanks!
Another workaround could be to change the value of LC_ MESSAGES? I haven't tested it though.
While all variables except LC_MESSAGES are set to "ja_JP.UTF-8", LC_MESSAGES seems to use "ja_JP.utf8". If all LC_XXX variables have the same value, setlocale(LC_ALL, NULL); might return a simple string (which is, in this case, "ja_JP.UTF-8".)
Thanks!
Another workaround could be to change the value of LC_ MESSAGES? I haven't tested it though.
While all variables except LC_MESSAGES are set to "ja_JP.UTF-8", LC_MESSAGES seems to use "ja_JP.utf8". If all LC_XXX variables have the same value, setlocale(LC_ALL, NULL); might return a simple string (which is, in this case, "ja_JP.UTF-8".)