diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-11-24 20:01:17 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-11-24 20:01:17 +0100 |
| commit | b299902881cb6525b5a6cc08c5721c0c1c7401ab (patch) | |
| tree | d8fc9a61d307b0aa0ca3029ef065c5edc69cb1ab /src/tools/map_extractor | |
| parent | 3a50bc50a2a3898013404eb2319508521002984f (diff) | |
Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
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 431ccf3029e..8d50b414ea6 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" @@ -1469,6 +1470,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)); |
