AW: [fw-general] Zend JSON umlaut (special chars)

2009-04-11 Thread Stefan Gehrig
Hi Andrei, please make sure that your data is UTF-8 encoded. Either run your retrieved data through utf8_encode() or make sure that the result returned from the database is UTF-8. When using MySQL (Zend_Db_Adapter_Pdo_Mysql) you can easily do this by adding a 'driver_options' key to your

AW: AW: [fw-general] Zend JSON umlaut (special chars)

2009-04-11 Thread Stefan Gehrig
Nachricht- Von: Benjamin Eberlei [mailto:kont...@beberlei.de] Gesendet: Samstag, 11. April 2009 11:13 An: fw-general@lists.zend.com Betreff: Re: AW: [fw-general] Zend JSON umlaut (special chars) That advice on the Mysql Init Attribute is dangerous. Its not just adding this easily, because

Re: AW: [fw-general] Zend JSON umlaut (special chars)

2009-04-11 Thread Benjamin Eberlei
That advice on the Mysql Init Attribute is dangerous. Its not just adding this easily, because if the app is already in production and running on another charset you might break it. On Saturday 11 April 2009 10:52:34 Stefan Gehrig wrote: Hi Andrei, please make sure that your data is UTF-8