I'm reading an XML file that has the html codes for hyphens and stuff
like that. I tried escaping hyphen's html code, which is '&# 8211;'
(space added to avoid interpretation) with the CGI::unescapeHTML
function. But it did not escape it. Is there a way to escape such codes?
I'm reading an XML file that has the html codes for hyphens and stuff
like that. I tried escaping hyphen's html code, which is '&# 8211;'
(space added to avoid interpretation) with the CGI::unescapeHTML
function. But it did not escape it. Is there a way to escape such codes?
--
Posted via http://www.ruby-forum.com/\.