change default-character-set to UTF8
I already change the default-character-set to UTF8 in my.cnf file.
However, Zend_Db didn't return the data as UTF8.
How do I set the default-character-set to UTF8 in the ZF?
I don't want to call the following function on every connection:
$db->query('SET NAMES \'utf8\'');
Any advice is greatly appreciated!
|