i have a big problem with umlauts.
I have a normal registration Form. And when i click on Submit, i send the data via jQuery Ajax to a php Script.
This Script puts everything in my database.
The Database Collation is utf8_general_ci but the umlauts are displayed like crap 😀
When i submit a new User to that database in the backend, where only php plays it works with umlauts.
Where is my fault?
Can´t figure it out.
Thanks 🙂
Make sure that you’re using UTF-8 everywhere in that chain. Your page needs to be encoded in UTF-8, so that the browser submits the user-data correctly. Check the
Content-Typeheader of the request. Your webserver should deliver the MIME-type with; encoding=UTF-8.