Encoding with dataTable server side

Encoding with dataTable server side

eclipsetalkeclipsetalk Posts: 10Questions: 3Answers: 0

Hello,
I'm using dataTable to display data from mySQL. I can display all the french characters fine in PHP but in dataTable the characters are not decoded when they come back in the JSON string. For instance é is rendered é.
I connect to the db using UTF-8. If I don't don't this the JSON is not valid.
What do I need to do?
Thanks,

This discussion has been closed.