Fix for French, German etc. Forces the strings returned by gettext() to be UTF-8.

This commit is contained in:
John Popplewell 2005-08-10 17:41:45 +00:00
parent 7c14bd2e8d
commit 669c6f6613

View file

@ -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)
{