Jump to content

Problem with the db! QueryLocaleSet: m_stLocale == 0


Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I managed to solve, just open the ClientManager.cpp file (put in / src / db or in any case the source of the db file) and edit

Spoiler

            else if (strcmp (locale.szValue, "english") == 0)

            {

                sys_log (0, "locale [LOCALE] =% s", locale.szValue);

                if (g_stLocale! = locale.szValue)

                    sys_log (0, "Changed g_stLocale% s to% s", g_stLocale.c_str (), "euckr");

                g_stLocale = "";

                g_stLocaleNameColumn = "locale_name";

 

with this 

Spoiler

            else if (strcmp (locale.szValue, "english") == 0)

            {

                sys_log (0, "locale [LOCALE] =% s", locale.szValue);

                if (g_stLocale! = locale.szValue)

                    sys_log (0, "Changed g_stLocale% s to% s", g_stLocale.c_str (), "euckr");

                g_stLocale = "latin1";

                g_stLocaleNameColumn = "locale_name";

then add latin1 in g_stLocale = "";

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.