views:

346

answers:

2

While running eval() in IE7 if my JSON contains language specific characters like è, its not evalled properly. Is there a way I can change the language settings to make this work?

+1  A: 

Have you tried using JSON.parse() from the official JSON library?

Zarel
If eval doesn't work then is a encoding problem, json.parse can't do miracles.
kentaromiura
+1  A: 

I think the problem is in your charset in your html, or probably you're serving the wrong content-type server side:

http://www.w3.org/TR/REC-html40/charset.html

http://www.w3.org/International/O-HTTP-charset

kentaromiura