Fix for French, German etc. Forces the strings returned by gettext() to be UTF-8.
This commit is contained in:
parent
7c14bd2e8d
commit
669c6f6613
1 changed files with 1 additions and 0 deletions
|
|
@ -723,6 +723,7 @@ static void set_current_language(void)
|
|||
loc = getenv("LANG");
|
||||
}
|
||||
#else
|
||||
bind_textdomain_codeset("tuxpaint", "UTF-8");
|
||||
loc = getenv("LANGUAGE");
|
||||
if (!loc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue