« Return to Thread: Would an XML Sitemap Generator Module for ZF make sense?

XML generated menu renders incorrect character encoding

by Joakim Gerth :: Rate this Message:

Reply to Author | View in Thread

Hi all,

I am using zend_navigation to render my menus. The navigation container is built from a xml configuration file.

My problem is that the site is in swedish, hence a lot of 'åäö'. The site uses iso-8859-1 to render them correctly. However, these characters are incorrect when using the xml config. I have tried to change xml encoding to iso.. but nothing changes. If I change the encoding of entire site (made in bootstrap) to utf-8 the menus are displaye correct , but the site content is now corrupt.

Could anyone help out here?

Regards,
Joakim

 « Return to Thread: Would an XML Sitemap Generator Module for ZF make sense?