My message below might sound confusing where it says "to é" and "into to é" on the last line, bcos the forum is encoding, it should say something like ampersand-eacute-; i hope you got that right. cheers
prado wrote: > > My guess was maybe the escape function is causing those characters to > display incorrectly, then i tried without the escape, still � appears for > characters like é but this time it didn't happen for ', then i changed é > to é in the data, it displayed correctly. Now this is all without > the escape. > > now i know having escape is all about XSS, seems i might need to create my > own helper for this. Any ideas how should i approach with this? what kind > of helper should i create? > > Is it possible to display é as é instead of encoding into é ? > > > > jasonistaken wrote: >> >> Yes, but did you try: >> >> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /> >> >> >> ?? >> On 04/02/2009 2:31 PM, prado wrote: >>> Thanks, i should have mentioned this before, i did try >>> >>> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> >>> >>> didn't work. >>> >>> What is surprising that these characters work fine with normal PHP >>> scripting, procedural or OOPs style. >>> >>> This problem only propped up when i started using Zend framework, now i >>> am >>> using escape method before i display the data, is there any other method >>> that i may use for parsing these characters correctly? >> >> >> > > -- View this message in context: http://www.nabble.com/Unable-to-show-latin-characters-using-zend-framework-tp21840418p21842453.html Sent from the Zend Framework mailing list archive at Nabble.com.
