CMS & WordPress
I'm working on a plugin where you can select your location on Google maps. I found that in for example Greece you can have names like this 'Megalópolis'. The problem is that it becomes this in the database -> Megalu00f3polis. After some searching on Google it seems to be a unicode issue? I found several solutions that should have fixed the problem, but it doesn't
I tried to change the database field from utf8_general_ci to utf8_unicode_ci, and comment the DB_COLLATE and DB_CHARSET lines in the wp-config.php. But none of them seems to have any effect.
Does anyone have any ideas how to fix this?
Make sure your theme supports UTF-8. You can add the following meta tag to your header.php (above the /head tag), see if it helps:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
It's already set at UTF-8. I start to think that the only way to fix this is to convert Megalópolis into Megalopolis before storing it into the database, but I hope there is a better solution.