mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
(cherry picked from commit b299902881)
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "IoContext.h"
|
||||
#include "IPLocation.h"
|
||||
#include "GitRevision.h"
|
||||
#include "Locales.h"
|
||||
#include "MySQLThreading.h"
|
||||
#include "OpenSSLCrypto.h"
|
||||
#include "ProcessPriority.h"
|
||||
@@ -85,6 +86,8 @@ int main(int argc, char** argv)
|
||||
Trinity::Impl::CurrentServerProcessHolder::_type = SERVER_PROCESS_AUTHSERVER;
|
||||
signal(SIGABRT, &Trinity::AbortHandler);
|
||||
|
||||
Trinity::Locale::Init();
|
||||
|
||||
auto configFile = fs::absolute(_TRINITY_REALM_CONFIG);
|
||||
std::string configService;
|
||||
auto vm = GetConsoleArguments(argc, argv, configFile, configService);
|
||||
|
||||
Reference in New Issue
Block a user