1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Actually use new locale for filesystem access

This commit is contained in:
Ivan Savenko
2022-11-21 16:58:36 +02:00
parent e6afd8621c
commit 8e6193ad6e

View File

@@ -171,6 +171,7 @@ class VCMIDirsWIN32 final : public IVCMIDirs
void VCMIDirsWIN32::init()
{
std::locale::global(boost::locale::generator().generate("en_US.UTF-8"));
boost::filesystem::path::imbue(std::locale());
// Call base (init dirs)
IVCMIDirs::init();