Have a really strange problem with UTF8 characters.
I have the following:
-
All my files are UTF-8
-
I am using (in my form):
accept-charset="utf-8" -
I got:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
But for some reason when i post UTF8 characters like: ö ä å
And i then echo the $_GET[] the output show: ���
Feels like I’ve tried everything, all help is very welcome! 🙂
Browsers will send the data in same encoding as you declared to page to be. For a sanity test, run this page:
Write “äöä” to the form and see if it’s right. If it isn’t, try to check your mbstring ini values for:
The correct values are: