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

    This is my first post, so first let me thank you MODx Team for your amazing work.

    Great to see 1.0.0 release, but I found some difficulties after upgrading from 0.9.6.3.
    Don’t know why, but Manager is forcing ISO-8859-2 encoding in meta tags (in Manager frames) even when when selecting UTF-8 (which was default before upgrade). I don’t know what to do with this. Frontend encoding is fine like before upgrading, but in manager special characters (Polish) in documets are all messed up.

    Tried overwriting files with 1.0.0 then upgrade; and tried clean upgrade with old config.ing.php also, but it always ends up the same.

    Site runs on linux.

    Whats interesting - clean install works fine (on the same database) and the same with upgrading the same site but on local server on Windows works fine too.

    Thanks for any help.
      • 25663 MODX Staff
      • 12,272 Posts
      The Manager content is now based on your language setting. At the top of each file the encoding is now set (found in /manager/includes/lang/yourlang.php). You’ll need a UTF8 version of your local translation.

      What does your Reports → System Info say about your database settings (version, charset and collation)?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 23610
        • 37 Posts
        Quote from: rthrash at Aug 03, 2009, 09:36 AM

        What does your Reports → System Info say about your database settings (version, charset and collation)?

        Didn’t check that after upgrading to 1.0.0, but on 0.9.6.3 it says:

        Database Version: 4.1.22-standard
        Database Charset: utf8
        Database Collation Charset: utf8_general_ci

        What is so strange is that no matter what encoding or language I select in Manager configuration, it always forcing ISO-8859-2 and Polish language.
          • 3749
          • 24,544 Posts
          Be sure to clear the MODx cache and your browser cache after changing the language in the Manager. If you set the language to Polish, the code in the /manager/includes/polish.inc.php file will set things to ISO-8859-2.

          Try setting the language to polish-utf8 in Tools | Configuration | Site Tab | Language.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 23610
            • 37 Posts
            Thank you guys for help.
            Problem solved - there was something wrong with my way of upgrading.
            Now I did it "raw" - clean install and adding old data (content, chunks etc.) manualy via phpMyAdmin and it works like a charm smiley