I'm developing a website with brazilian characters using Zend Framework and my navigation menu items are inside a database.
I've double checked my character encoding in the HTML meta tag, in the files itself and my database. Everything is set to UTF-8 and my whole website is rendering fine (including my menu items which has accented character.
AlthoughI'm using Zend_Navigation for rendering a breadcrumb and it's not going very well. See the image below:
Missão
is what I have in my database. Unfortunately, it's not becoming ã
instead. I don't know why.
I'm also using Zend_Navigation in my admin module for both Breadcrumb and Menu which render perfectly. The difference is that I'm using a XML in my admin module and Arrays in my default module (which is the problematic one).
I tried to write the XML from the Config object using Zend_Config_Writer_Xml. Then, I checked the file and it was written correctly: <label>Informações</label>
. Although, in order to the XML render correctly, it's enough to write just <label>Informações</label>
(that's what I have in the admin module navigation XML).
Well, what if I write Informações
directly in the array then ask it to write the XML? I tried this and I got <label>Informações</label>
which doesn't work, also.
I'd like to come up with a solution 'cause I'm running out of time