Hi Akihiro, It looks like you're working around a bug in setlocale implementation. Is mbcp ever changed on Windows during this tests (it's not on testbot)? It's better to add a test for that and fix the implementation. Thanks, Piotr