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/vmap4_assembler/VMapAssembler.cpp | |
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/vmap4_assembler/VMapAssembler.cpp')
-rw-r--r-- | src/tools/vmap4_assembler/VMapAssembler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/vmap4_assembler/VMapAssembler.cpp b/src/tools/vmap4_assembler/VMapAssembler.cpp index 2e55f16240b..aedafb6d3da 100644 --- a/src/tools/vmap4_assembler/VMapAssembler.cpp +++ b/src/tools/vmap4_assembler/VMapAssembler.cpp @@ -20,9 +20,12 @@ #include "TileAssembler.h" #include "Banner.h" +#include "Locales.h" int main(int argc, char* argv[]) { + Trinity::Locale::Init(); + Trinity::Banner::Show("VMAP assembler", [](char const* text) { std::cout << text << std::endl; }, nullptr); std::string src = "Buildings"; |