resources.db.params.charset = utf8
1.8 has "charset" option support.
-ralph
Cristian Bichis wrote:
> Hi,
>
> If i am connecting to MySQL through PDO_MYSQL i have an easy way to set
> SET NAMES UTF8;... Directly on db configuration:
>
> resources.db.adapter = PDO_MYSQL
> ................
> *resources.db.params.driver_options.1002 = "SET NAMES UTF8;"*
>
> How should i set this for a MYSQLI driver on configs ?
>
> --
> Best regards,
> Cristian Bichis
> www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com
>
没有评论:
发表评论