And that is why I was of the opinion that the default value should remain. It is just one less thing that users need to keep track of when using third-party add-ons and templates. If they need multiple values, then they’ll have to do something about it anyway. Plugins and manager override by user configuration would make that possible.
The MODxHost template in the demo site uses it, by the way.
-
- 4,213 Posts
I have used it in MaxiGallery too.. and I guess that many other 3rd party snippets use it.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
This isn’t so much about requiring all third-party add-ons and templates that use it needing to be edited, it is that the add-ons at least would need an extra parameter that the user would need to set. If it’s a site-wide default, then they don’t have to worry about it once they set their preference (if it’s not the default install value of utf-8) in the main site configuration. It would not be possible to hard-code it in snippets and templates.
To date the [(modx_charset)] has only affected displays and never had anything to do with the database connection. Granted it should match, but there’s a lot of legacy baggage that needs to be sorted there.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me