Problem With Multibyte Characters
Hi all,
Personally, I think ezSQL is a great tools for working with MySQL. Hopefully, someone could help me with this issue that I am having.
Is there any way to get ezSQL to set the results return to be UTF-8? Apparently, I am getting weird characters for characters like a-tilde, etc... I've set my headers to use UTF-8 as a character set but its still showing funny characters on the browser.
Someone then suggested me to use mysqli
$mysqli = new mysqli(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE);
$mysqli->set_charset("utf8");
Using mysqli, it displayed the characters correctly in the browsers, so apparently it was an issue with ezSQL.
So, does anyone have any ideas on how to set the ezSQL equivalent of the above mysqli statement?
Thanks.
