json_encode() wont work for me when I\'m using åäö. Why? And how can I get it to work?
json_encode()
The php:
php
echo json_encode($arr);
It says in the json_encode() documentation:
This function only works with UTF-8 encoded data.
You should convert it to utf-8 with iconv or mbstring first.