mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "InstanceLockMgr.h"
|
||||
#include "IoContext.h"
|
||||
#include "IpNetwork.h"
|
||||
#include "Locales.h"
|
||||
#include "MapManager.h"
|
||||
#include "Metric.h"
|
||||
#include "MySQLThreading.h"
|
||||
@@ -130,6 +131,8 @@ extern int main(int argc, char** argv)
|
||||
{
|
||||
signal(SIGABRT, &Trinity::AbortHandler);
|
||||
|
||||
Trinity::Locale::Init();
|
||||
|
||||
auto configFile = fs::absolute(_TRINITY_CORE_CONFIG);
|
||||
auto configDir = fs::absolute(_TRINITY_CORE_CONFIG_DIR);
|
||||
std::string winServiceAction;
|
||||
|
||||
Reference in New Issue
Block a user