Remove accents from a JSON response.

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-04-29T04:31:07Z Indexed on 2010/04/29 4:37 UTC
Read the original article Hit count: 455

Filed under:

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?

© Stack Overflow or respective owner

Related posts about php