View Single Post
  #1 (permalink)  
Old 03-30-2008, 10:31 PM
tscbhvn tscbhvn is offline
Junior Member
 
Join Date: Mar 2008
Posts: 3
Default 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!
Reply With Quote