With setlocale(LC_TYPE, ""), everything works as expected on my machine, even with LANG=ja_JP.UTF-8. Maybe some others should test this.
With setlocale(LC_TYPE, ""), everything works as expected on my machine, even with LANG=ja_JP.UTF-8. Maybe some others should test this.