mirror of
https://github.com/edubart/otclient.git
synced 2025-10-21 06:53:27 +02:00
Dont use boost locale anymore
This commit is contained in:
@@ -74,10 +74,9 @@ void Application::init(std::vector<std::string>& args)
|
||||
#endif
|
||||
|
||||
// setup locale
|
||||
boost::locale::generator locgen;
|
||||
std::locale::global(locgen.generate(""));
|
||||
std::locale utf8Loc = locgen.generate("en_US.UTF-8");
|
||||
boost::filesystem::path::imbue(utf8Loc);
|
||||
std::locale::global(std::locale());
|
||||
std::locale utf8("en_US.UTF-8");
|
||||
boost::filesystem::path::imbue(utf8);
|
||||
|
||||
// process args encoding
|
||||
g_platform.processArgs(args);
|
||||
|
Reference in New Issue
Block a user