We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27305
    • 173 Posts
    Since I did an upgrade to the latest modx version I have got weird characters appearing and russian text appears as huh

    My database charset is utf8 and the collation charset is utf8_general_ci - I have pages in english, russian, and chinese

    I’m not quite sure why its doing it, if I edit a page in the manager it all changes to huh?


    I have everythign backed up but it takes ages to upload. Help!
      I made my first site with modx
      ------------------------
      Shopping blog
      Sky+ HD
      • 25663 MODX Staff
      • 12,272 Posts
      I’m 99% certain it’s a charset or collation mismatch. What is your manager set to, what version of modx are you running and what are the db config settings listed for the charset/collation/connection from your config.inc.php file?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 27305
        • 173 Posts
        Like I said b 4 the settings are;

        MySQL charset: UTF-8 Unicode (utf8)
        MySQL connection collation: utf-8 unicode ci

        In the manager configuration/site tab it says UTF-8 - I think its the manager that appears not to get the correct charset upon upgrade becuase in the database the characters are fine, its only when you edit and save a document that if fooks up the database with question marks.

        The newer version of the installer that you released the other week did work fine, apart from phx, for some reason that broke and all my templates use it.

        For now I have reverted back to the older version of modx, I need to setup another domain name to test the new version, so I don’t break the existing install, it took me ages to install then unistall, then install then unistall - still i’m nearly there

          I made my first site with modx
          ------------------------
          Shopping blog
          Sky+ HD
          • 22851
          • 805 Posts
          Maybe this thread might contain some ideas for helping you debug this.
            YAMS: Yet Another Multilingual Solution for MODx
            YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
            Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.