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-861f7616d084
master
Dennis Schridde 2008-03-17 07:23:48 +00:00
parent 789e4bc971
commit 0c5ecc0efb
2 changed files with 2 additions and 4 deletions

View File

@ -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);
}

View File

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