Hi,
Recently transfered our MODX Revolution 2.0.3.pl site to a new hosting. In the original site, apostrophes and other characters show up just fine, however in the new site, they are being replaced by a character is the form of a square.
Please help me figure this out, what needs to be done please?
Thank you,
Alex C.
-
☆ A M B ☆
- 2,213 Posts
Sounds like your charset is messed up. Can you post what character set your site is using?
On MySQL both sites have: MySQL charset: UTF-8 Unicode (utf8)
Check the tables and the individual fields to make sure they are UTF-8 as well. And check the character set in core/config/config.inc.php. It definitely sounds like a character set issue.
It’s possible that this would help:
http://bobsguides.com/convert-db-utf8.html
I set the charset to utf-8: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />, and it works now. It was set to something else before.
The one thing I have now is why would it work for one site and not the other? But that’s more of a curiosity, it is fine now which is the really important thing.
Thanks for your help.
-
☆ A M B ☆
- 2,213 Posts
I suspect it’s a case of a slightly different server configuration, in the past it was fine, just needed to be tweaked a touch