Read special characters
#1

Hey guys, how to make the engine to read special characters like: " Çç^^~~´´`` " ?

 

Thanks for helping!

#2


5 hours ago, kranzo said:




Hey guys, how to make the engine to read special characters like: " Çç^^~~´´`` " ?



 



Thanks for helping!




Custom title from crean should allow it already! (strongly un-suggested, many crash by it)

#3

compile the client by gerlive and add tex with symbols 

#4

i dont remember who posted this, so can't give credits, but if you want to compile for usa and still use characters like ç, ä, ö, ü, ß etc, you can do the following:

 

1. you must add german font in your local folder to your wanted font

2. in source client engine  engine/interface/UItexturemanager.cpp line 103

 

replace USA code by your german code (but dont remove "case USA:")

 

case USA:
        {
            m_nLanguage = FONT_GERMAN;

            for( iTex = 0; iTex < TEXCT_FONT_GERMAN; iTex++ )
            {
                strFileName.PrintF( "FontGerman%d.tex", iTex );
                strFullPath = strDirectory + strFileName;
                m_aptdFont[iTex] = _pTextureStock->Obtain_t( strFullPath );
            }

            m_nFontTextureCount = TEXCT_FONT_GERMAN;
            m_nFontSpacing = 0;
            m_nLineSpacing = 2;
        }
        break;

3. engine/interface/UiEditBox.cpp line 819 & 1515 add || g_iCountry == USA to the list to enable 2 byte characters (ß, ä, ö, ü etc)

4. line 1190 
void CUIEditBox:Big GrineleteChar( int nDeletePos )
{
    // If current character is 2 byte character
//    if(Is2ByteChar(nDeletePos))
    // connie [2009/9/11] - 

there u need add && (g_iCountry != USA) too then is this fixed with delete

 



Forum Jump:


Users browsing this thread: 1 Guest(s)