We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Might we not want to change that (also in the database) to $system_charset or something equally neutral? I know that it’s mostly used in the Manager, which is getting a major overhaul, but it’s also useful in the HTML head of templates:

     <meta http-equiv="Content-Type" content="text/html; charset=[(etomite_charset)]" />


    instead of

     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 33337
      • 3,975 Posts
      Zaigham (aka zi) Reply #2, 21 years ago
      Dont know deeply about it, but I think, you should consider to change ETOMITE to MODx or whatever up-coming.

      Just my few cents wink
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 34162
        • 1 Posts
        It’s already corrected in TP4
          • 18397
          • 3,250 Posts
          Has this been changed in the SVN?
            • 22303 MODX Staff
            • 10,725 Posts
            Quote from: Mark at Aug 15, 2006, 05:38 PM

            Has this been changed in the SVN?

            This isn’t something that should just change. We should probably switch it to default_charset but then have the manager update both the etomite_charset value and default_charset value until the next release at least, so folks won’t be freaked out if no charset is set for their pages if we just remove it.
              • 25663 MODX Staff
              • 12,272 Posts
              Can we just loose "etomite"? I don’t care to what...
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 22303 MODX Staff
                • 10,725 Posts
                Quote from: rthrash at Aug 15, 2006, 06:37 PM

                Can we just loose "etomite"? I don’t care to what...

                The whole point is that people have this in their templates, and potentially in their snippets, deployed in live sites. If we remove or change etomite_charset, an upgrade will cause their templates to have no value passed for the character encoding, which is bad, uummmkaaaayyyy? If we change the configuration name in the manager to just say Default Charset, add a duplicate system setting called default_charset, and maintain both the value of default_charset and the existing etomite_charset in sync from the manager value provided, everything will still work, and we can give users an entire release cycle to start using the new value. This is comparable to an API function being deprecated, which means it will be removed in a future version so change it as soon as you get a chance. wink
                  • 22815
                  • 1,097 Posts
                  Quote from: OpenGeek at Aug 15, 2006, 07:46 PM

                  If we change the configuration name in the manager to just say Default Charset, add a duplicate system setting called default_charset, and maintain both the value of default_charset and the existing etomite_charset in sync from the manager value provided, everything will still work, and we can give users an entire release cycle to start using the new value. This is comparable to an API function being deprecated, which means it will be removed in a future version so change it as soon as you get a chance. wink

                  Which would mean that there was just *one* etomite_charset reference in the 0.9.5 distribution rather than in every template, and the one reference would be somewhere people are unlikely to look, so that would please everyone.
                    No, I don&#39;t know what OpenGeek&#39;s saying half the time either.
                    MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                    Forum: Where to post threads about add-ons | Forum Rules
                    Like MODx? donate (and/or share your resources)
                    Like me? See my Amazon wishlist
                    MODx "Most Promising CMS" - so appropriate!
                    • 4673
                    • 577 Posts
                    It would be nice to be able to define this per-template or per-language. Especially for multi-lingual sites!
                      Tangent-Warrior smiley
                      • 22815
                      • 1,097 Posts
                      Well, if you want to define it per template, you just hard-wire it in... or you could pull this from a TV.
                        No, I don&#39;t know what OpenGeek&#39;s saying half the time either.
                        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                        Forum: Where to post threads about add-ons | Forum Rules
                        Like MODx? donate (and/or share your resources)
                        Like me? See my Amazon wishlist
                        MODx "Most Promising CMS" - so appropriate!