fixed problem with displaying special chars

This commit is contained in:
Constantin Wenger 2011-07-22 12:54:07 +02:00 committed by Giuseppe Bilotta
parent d78e5e7329
commit a09660dc85
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ int main(int argc, char *argv[])
// Create user data directory
fs::CreateDir(porting::path_userdata);
setlocale(LC_ALL, "");
setlocale(LC_MESSAGES, "");
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
textdomain("minetest-c55");