We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16194
    • 103 Posts
    Hi Folks!

    My page uses german Umlauts like ä,ö,ü etc.

    No problem so far. That changed when I upgraded from 0.9.6.3 to 1.0.2.:

    - Umlauts in the content (live page) are still working fine. Except for Umlauts in chunks.
    - Umlauts in the manager and in stuff like chunks and TVs are not working properly. I get a "?" sign instead.
    Tried to overwrite one chunk manually, and afterwards it shows correctly in manager, but not on the published page.

    Any ideas what may have caused that problem? Character encoding is set to iso-8859-1 (Western European).

    Regards,

    Konsum
      Impossible is nothing - with ModX
      • 16194
      • 103 Posts
      No ideas? What could I try? The database has a latin1_german2_ci collation.
        Impossible is nothing - with ModX
        • 16194
        • 103 Posts
        Anyone?
          Impossible is nothing - with ModX
          • 25663 MODX Staff
          • 12,272 Posts
          I’m guessing an advanced upgrade and using SET NAMES instead of CHARSET would fix it up.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 12955
            • 3 Posts
            I have the same problem. I live in Sweden, where we have the special letters ÅÄÖåäö, and those broke in my content when I upgraded MODx from 0.9.6.2 to 1.0.2.

            I made some experiments, and came to an interesting conclusion: There is (probably) nothing wrong with the upgrade scripts. Why? I had an instance of the old 0.9.6.2 site, with the manager loaded in my web browser. Then I copied the MODx 1.0.2 files onto this site, and reloaded the page. All ÅÄÖåäö characters were immediately converted into strange double-character combinations that usually arise when UTF-8 is interpreted as ISO-8859-1. And I didn’t run the upgrade scripts.

            I have now determined that the new Swedish language file is the cause of this problem. By substituting the 1.0.2 /manager/includes/lang/svenska.inc.php with the 0.9.6.2 version of that file, the strange character problem disappears. Try doing a similar switch with the German language file, and who knows, it might just work.
              • 25663 MODX Staff
              • 12,272 Posts
              Can you open a bug for this in JIRA please init. Great research!
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 12955
                • 3 Posts
                Quote from: rthrash at Mar 23, 2010, 11:07 AM

                Can you open a bug for this in JIRA please init. Great research!

                I have now done so.