Forums / Developer / Help with UTF8 and eZDB:instance problem needed / Comment49079
Kristof Coomans
Wednesday 13 February 2008 11:21:09 pm
When using eZDB::instance(), there should be no need anymore to do a "SET NAMES ..." because it's done by the mysql database plugin IF your Exponential site is correctly configured (in i18n.ini, [CharacterSettings] Charset=utf-8 and in site.ini [DatabaseSettings] Charset= ). In case you're using mysqli, there's a special function used to set the connection's character set: mysqli_set_charset(...). But in either way, it should be automatically done for you when using eZDB::instance().
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org