In my table, I have a row like this:
Amazing ...
When I try do display it in my view, it show this:
Amazing ... ???
In the head of the html page, I have well the tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
In core.php I have:
Configure::write('App.encoding', 'UTF-8');
In my database.php, I have:
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => 'xxx',
'database' => 'xxx',
'prefix' => '',
'encoding' => 'utf8',
);
I am converting a current python script in php and I can see this code:
'comment_text': row[2].encode('unicode-escape'),
I tried for find the equivalent for encode('unicode-escape') in php but nothing found.
Do I need to use a similar function for my php display or I don't need to use this function equivalent and something is wrong with my encoding setup ?