Merge pull request #294 from tomaz82/fix_locale

Trying to fix japanese text
This commit is contained in:
Jools Wills 2017-11-10 03:34:51 +00:00 committed by GitHub
commit c0eff8e71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ int main(int argc, char* argv[])
unsigned int width = 0;
unsigned int height = 0;
std::locale::global(std::locale(std::locale(""), "C", std::locale::numeric));
std::locale::global(std::locale("C"));
boost::filesystem::path::imbue(std::locale());
if(!parseArgs(argc, argv, &width, &height))