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 aaa165f985
commit bf3dfec7d6
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");