Core/Locales: Set active code page and locale used by c string functions to utf8

Closes #29455
This commit is contained in:
Shauren
2023-11-24 20:01:17 +01:00
parent 3a50bc50a2
commit b299902881
12 changed files with 117 additions and 6 deletions

View File

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