I am taking an MLB RSS Feed into magento and am struggling with an issue. All double quotes in the feed are being replaced with “ and all single quotes in the RSS Feed are being replaced with ᾿ i.e. double quotes appear on page as “ instead of " and single quotes appear on page as ’ instead of '. I want double quotes in the feed to display on my site double quotes and single quotes to display on my site as single quotes. The line of php code taking the feed is as follows:- echo $this->escapeHtml(Mage::helper('core/string')->truncate(strip_tags($item->description()), 120, '... >>', $remainder, false)); Any help would be much appreciated.
You're escaping the HTML tags in this segment: "escapeHtml" this means it will revert the special characters to ASCII