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:
@@ -171,6 +171,7 @@ class VCMIDirsWIN32 final : public IVCMIDirs
|
|||||||
void VCMIDirsWIN32::init()
|
void VCMIDirsWIN32::init()
|
||||||
{
|
{
|
||||||
std::locale::global(boost::locale::generator().generate("en_US.UTF-8"));
|
std::locale::global(boost::locale::generator().generate("en_US.UTF-8"));
|
||||||
|
boost::filesystem::path::imbue(std::locale());
|
||||||
|
|
||||||
// Call base (init dirs)
|
// Call base (init dirs)
|
||||||
IVCMIDirs::init();
|
IVCMIDirs::init();
|
||||||
|
Reference in New Issue
Block a user