2009年4月26日星期日

Re: [fw-db] Zend_Db insert and update utf-8 chars

I've the same problem... Is there anyone that can help us?

richardjansen wrote:
>
> Hi there
>
> My database is MySQL, charset of the db is utf-8. I use PDO. I've done
> $db->query("SET NAMES UTF8"). Now I can read correctly from de database.
> The data in de db is how I want it (utf-8). The charset of de HTML is also
> utf-8.
>
> The problem: I'm trying to insert and update special chars (like é) with
> Zend_Db_Table_Abstract::insert (and update). The inserted data has stopted
> just before the special char. Foo é Bar -> Foo.
>
> Thanks for your comments,
> Richard Jansen
>
>

--
View this message in context: http://www.nabble.com/Zend_Db-insert-and-update-utf-8-chars-tp21156810p23242143.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: