json_encode()
wont work for me when I'm using åäö. Why? And how can I get it to work?
The php
:
echo json_encode($arr);
The javascript
:
var theResponse = JSON.parse(xmlHttp.responseText);
When I alert()
the response, and the response contains å, ä or ö, the response is = NULL
Please, help me out...