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:
parent
cb0baf10cf
commit
e75387fd5f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user