use boost.locale for charset conversions instead of iconv

This commit is contained in:
Andrzej Rybczak
2012-10-04 21:25:48 +02:00
parent 802886c2e5
commit e40edade0e
12 changed files with 53 additions and 202 deletions

View File

@@ -89,8 +89,8 @@ int main(int argc, char **argv)
using Global::VolumeState;
using Global::Timer;
srand(time(0));
setlocale(LC_ALL, "");
std::srand(std::time(0));
std::setlocale(LC_ALL, "");
std::locale::global(std::locale(""));
Config.CheckForCommandLineConfigFilePath(argv, argc);