1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Force the use of UTF-8 with gettext

This commit is contained in:
Mathieu Schroeter 2017-02-18 19:04:00 +01:00
parent cb0baf10cf
commit e75387fd5f

View File

@ -605,6 +605,7 @@ static void initGettext ()
setlocale (LC_ALL, "");
textdomain ("planetblupi");
bindtextdomain ("planetblupi", (GetBaseDir () + "locale").c_str ());
bind_textdomain_codeset ("planetblupi", "UTF-8");
}
// Programme principal.