I\'m trying to work with French characters. For whatever reason, PHP won\'t output them correctly unless I force the ISO-8859-1 character set (which I really don\'t
I have run into the same issue, but I would suggest:
$array = htmlentities($array); $json = json_encode($array);