-
Unicode problem?
I'm working on a plugin, and there is this input field where you can click on Google Maps, and then the name of the location is placed in the input field. I first noticed something was wrong when I clicked on this place in Greece 'Megalópolis'. Megalópolis becomes Megalu00f3polis in the database?
After some searching on Google in found several suggestions on how to fix this, but none of them seem to work for me.
I change the database field from utf8_general_ci to utf8_unicode_ci, and tried to comment the DB_COLLATE and DB_CHARSET lines in the wp-config.php. But none of them seems to have any effect.
I tried other places on the map in Greece as well, and Kalávrita also becomes Kalu00e1vrita?
Any ideas or tips on how to make sure the name is stored in a normal way in the database, so that it doesn't change some letters into for example 00e1?
Thanks :)
-
You should'nt have to handle that kind of problem.
Is your plugin file in utf8?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules