I have the following UTF-8 data in my database:
ãダンヒル
In japanese:
ダンヒル
The field and the database are set to utf_8_general_ci. I can't figure out how to display the proper japanese characters in my html. Here's what I did so far with no success:
<?php
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
header('Content-Type: text/html; charset=UTF-8');
?>
Also, in my html header, I set the charset to utf-8:
<meta charset="UTF-8">
Database connection is mysqli, set_charset
is set to utf-8.
Note that using this tool, I managed to encode my string to the proper japense characters.
Any help, would be appreciated, thanks!