How do I handle Scandinavian characters when using MySQLi? Text Päivänkakkara
is now printed as P\u00e4iv\u00e4nkakkara
in the browser.
I'm using the set_charset
function like below when initializing the database connection:
$conn->set_charset("utf8");
The collation of the table is utf8_unicode_ci
.