Browse Source

Actually use new locale for filesystem access

Ivan Savenko 2 years ago
parent
commit
8e6193ad6e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/VCMIDirs.cpp

+ 1 - 0
lib/VCMIDirs.cpp

@@ -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();