UTF-8 encoding - impossible decode html table characters
UTF-8 encoding - impossible decode html table characters
dropbox1349
Posts: 6Questions: 2Answers: 0
I try to solve this problem but ????? also appears
Look here, please
http://stackoverflow.com/questions/39548336/utf-8-encoding-impossible-decode-html-table-characters
Question is related to datatables directly.
Any idea why ???? appears ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I would suggest trying to set the PHP / DB charset like in one of the SO replies. My guess is that your PHP / DB connection is not UTF8 by default.
Allan
I was helped by the editing of the function of the class of SSP (function simple). I added one more line to set the hard encoding UTF-8.
Below line '$db = self::db( $conn );', I added 1 more line:
$db->exec("set names utf8");
It helped me.
That would do it if the connection isn't set to be UTF8 by default.
Thanks for posting back with your answer!
Allan