Hi,

I have a problem displaying the single quote on HTML using Zend Framework.

I have a string stored in MySQL database. I fetch it using Zend Framework,
escape it using $this->escape($string) and then try to display. When I do
that, it is shown like:

�Swiss banks�

The frist and last characters are supposed to be single quotes.

I can display it with Single Quotes without using Zend framework by directly
connecting to MySQL and then escaping it with "htmlspecialchars" function. I
tried to using "htmlspecialchars" after fetching the data using Zend
framework. It simply doesn't work. 

Can somebody help me figure out what is wrong with the Zend framework while
displaying the Single Quotes?

Regards,
Praveen
-- 
View this message in context: 
http://www.nabble.com/Zend-Single-Quote-Problem-tp25216714p25216714.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to