mysql_connect to a database solely defined in UTF-8. Everywhere I can look in the configuration, I see
UTF-8 Unicode (utf8) or
However, when I open the PHP connection, then use
echo mysql_client_encoding();, I get
latin1 as an output, which is pretty unexpected. Is it taken from some kind of PHP/Apache configuration?