Re: [fw-general] encoding in HTTP headers

2008-09-25 Thread Guillaume Oriol
Thank you Matthew. This issue was my misunderstanding of what the view.encoding was for. I thougt it was the target encoding (ie related to page Content-Type). But it is used only by escape() method as the source encoding of the text. Therefore, when I was setting the view.encoding to UTF-8, I

[fw-general] encoding in HTTP headers

2008-09-24 Thread Guillaume Oriol
Hi, I wonder why my view sets an HTTP header of Content-Type: text/html; charset=iso-8859-1 despite the configuration I do in the bootsrap.php with: $view = new Zend_View($config-view-toArray()); referencing my config.ini with : view.encoding=UTF-8 view.escape=htmlentities view.strictVars=1

Re: [fw-general] encoding in HTTP headers

2008-09-24 Thread Matthew Weier O'Phinney
-- Guillaume Oriol [EMAIL PROTECTED] wrote (on Wednesday, 24 September 2008, 04:05 AM -0700): I wonder why my view sets an HTTP header of Content-Type: text/html; charset=iso-8859-1 despite the configuration I do in the bootsrap.php with: $view = new Zend_View($config-view-toArray());