Hi there,
I’ve seen loads of posts about this kind of thing and have tried some of the things that I’ve seen mentioned (the ones that I could understand at least!) but so far have had no joy working it out.
I have EE up and running on a server where the DB tables are apparently utf8_unicode_ci.
I have exported out the data using phpMyAdmin as an SQL file, then reimported it into the new servers mysql using phpMyAdmin (again the tables are apparently set to utf8_unicode_ci.
The problem is, on the new site some characters (apostrophes, £, dashes, etc.) are showing as black diamonds with question marks in them. The problem goes away (i.e. they displays fine in the browser) if I change the default character set in Admin > System Preferences > General preferences to ISO-8859-1
You can see an example on the OLD server at http://www.bmrb.co.uk/index.php/news/article/consumer-confidence-tracker-december-2008/
You can see the same example on the NEW server at http://bmrblaa1.miniserver.com/~bmrb/index.php/news/article/consumer-confidence-tracker-december-2008/
So, I’m guessing that even though my DBs in both places are apparently in UTF8, I have either:
a) screwed up the export/import somewhere to use the ISO-8859-1 charset instead
b) one of the databases isn’t actually UTF8
c) or something else is affecting the data between mysql and EE and turning it into ISO-8859-1
Any ideas?
Thanks in advance!
—-
Expression Engine 1.6.6 Build: 20081114 (I’m going to upgrade 1.6.7 when this problem is sorted)
Note: I realise that I probably could just forget it and leave it as ISO-8859-1, but I’m slightly reluctant to given that I thought it was already in UTF8 and I’m not sure what problems I may come up against in future if there is any charset mismatching going on.