using WindowsPath implies utf-8 for boost fs::path

This commit is contained in:
greye 2014-01-14 23:08:54 +04:00
parent 584c121f33
commit eafdefe999

View File

@ -27,6 +27,7 @@ namespace Files
WindowsPath::WindowsPath(const std::string& application_name) WindowsPath::WindowsPath(const std::string& application_name)
: mName(application_name) : mName(application_name)
{ {
boost::filesystem::path::imbue(boost::locale::generator.generate(""));
} }
boost::filesystem::path WindowsPath::getUserConfigPath() const boost::filesystem::path WindowsPath::getUserConfigPath() const