Fix bug #11277: Strings containing non-ascii characters missing
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4118 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
789e4bc971
commit
0c5ecc0efb
|
@ -99,5 +99,6 @@ void initI18n(void)
|
|||
#else
|
||||
(void)bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
#endif
|
||||
(void)bind_textdomain_codeset(PACKAGE, "UTF-8"); // FIXME should be UCS4 to avoid conversions
|
||||
(void)textdomain(PACKAGE);
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ static void iV_initializeGLC()
|
|||
|
||||
glcDisable(GLC_AUTO_FONT);
|
||||
glcRenderStyle(GLC_TEXTURE);
|
||||
glcStringType(GLC_UTF8_QSO);
|
||||
glcStringType(GLC_UTF8_QSO); // Set GLC's string type to UTF-8 FIXME should be UCS4 to avoid conversions
|
||||
|
||||
_glcFont_Regular = glcGenFontID();
|
||||
_glcFont_Bold = glcGenFontID();
|
||||
|
@ -150,9 +150,6 @@ static void iV_initializeGLC()
|
|||
}
|
||||
|
||||
debug(LOG_NEVER, "finished initializing GLC");
|
||||
|
||||
// Set GLC's string type to UTF-8
|
||||
glcStringType(GLC_UTF8_QSO);
|
||||
}
|
||||
|
||||
void iV_TextInit()
|
||||
|
|
Loading…
Reference in New Issue