Reputation: 16276
when i try to encode a word with accent like Sous-Préfecture
like this:
$libelle=utf8_encode('Sous-Préfecture');
echo json_encode($libelle);
i got:
Sous-Pr\u00e9fecture
Is there any way to show the accent in that kind of words?
Upvotes: 0
Views: 129