I get back a JSON response from a social networks site. There are certain accented characters that I would like to be removed.
An example is : L\u00e1szl\u00f3 M\u00e1rton, that reads “László Márton” and I would like to be transformed into Laszlo Marton.
I would like to keep the JSON format intact, as I will send it towards.
How can I do this?
See accepted anwser to: How do I remove accents from characters in a PHP string?
if server is correctly configured (as the reference question states) this should work.
Edit: it doesn’t.
This will do 🙂