2009年12月22日星期二

Re: [fw-mvc] Problem: Turkish Characters can not be saved to database

On Tue, 2009-12-22 at 15:24 +0330, sina miandashti wrote:
> $db = Zend_Db::factory ( $dbConfig ['adapter'], $dbConfig ['db'] );
>
> try {
> $db->query("SET NAMES 'utf8'");
>
> } catch ( Zend_Exception $e ) {
> die ( $e->getMessage () );
> }
>
As I mentioned they are all set in my.cnf file.

没有评论: