diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-11-24 20:01:17 +0100 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2023-12-01 23:28:35 +0100 |
| commit | 543d7d5001d7070415bdd649faf9691bf014970e (patch) | |
| tree | 0fa1fbb87ff35495fbc088f1f51965e7bc26638f /src/tools/map_extractor | |
| parent | fa7b01bec70d428fd6e1687876f3c82ed054f349 (diff) | |
Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
(cherry picked from commit b299902881cb6525b5a6cc08c5721c0c1c7401ab)
Diffstat (limited to 'src/tools/map_extractor')
| -rw-r--r-- | src/tools/map_extractor/System.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index 00712b990ec..02a4b199259 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -23,6 +23,7 @@ #include "DBFilesClientList.h" #include "ExtractorDB2LoadInfo.h" #include "IteratorPair.h" +#include "Locales.h" #include "MapDefines.h" #include "StringFormat.h" #include "adt.h" @@ -1470,6 +1471,8 @@ static bool RetardCheck() int main(int argc, char * arg[]) { + Trinity::Locale::Init(); + Trinity::Banner::Show("Map & DBC Extractor", [](char const* text) { printf("%s\n", text); }, nullptr); PrintProgress = isatty(fileno(stdout)); |
