diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 01:55:44 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 01:55:44 +0200 |
commit | e1d8490f0654a3da0b900407d80d91d8d0da68c8 (patch) | |
tree | d65b4bd4a596a98061e094120b6a1aed388d1c89 /src/Core/Application.cpp | |
parent | d88c486ae403bee8f4b16e4bdf9daf19f8915eed (diff) | |
download | mad-e1d8490f0654a3da0b900407d80d91d8d0da68c8.tar mad-e1d8490f0654a3da0b900407d80d91d8d0da68c8.zip |
Use libicu to support unicode properly; migrated ConfigManager to UnicodeString
Diffstat (limited to 'src/Core/Application.cpp')
-rw-r--r-- | src/Core/Application.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Core/Application.cpp b/src/Core/Application.cpp index d75cbaf..666f2cb 100644 --- a/src/Core/Application.cpp +++ b/src/Core/Application.cpp @@ -22,6 +22,7 @@ #include "LogManager.h" #include "ThreadManager.h" +#include <clocale> #include <cstdlib> #ifndef va_copy @@ -31,7 +32,13 @@ namespace Mad { namespace Core { -Application::Application() : configManager(new ConfigManager(this)), logManager(new LogManager(this)), threadManager(new ThreadManager(this)) {} +Application::Application() { + std::setlocale(LC_ALL, ""); + + configManager = new ConfigManager(this); + logManager = new LogManager(this); + threadManager = new ThreadManager(this); +} Application::~Application() { delete threadManager; |