Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^7: Wierd behaviour with HTML::Entities::decode_entities()

by Baz (Friar)
on Dec 14, 2009 at 19:05 UTC ( [id://812761]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Wierd behaviour with HTML::Entities::decode_entities()
in thread Wierd behaviour with HTML::Entities::decode_entities()

You can test with this -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w +3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv"> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-885 +9-1"/> </head> <body> Mic i vĀr replokal &amp;quot;The Dungeon&amp;quot; </body> </html>
Now it very clear what the problem is...

Replies are listed 'Best First'.
Re^8: Wierd behaviour with HTML::Entities::decode_entities()
by ikegami (Patriarch) on Dec 14, 2009 at 19:53 UTC

    If you get

    Mic i vĀr replokal &amp;quot;The Dungeon&amp;quot;

    and you're expecting

    Mic i vĀr replokal "The Dungeon"

    the problem is on their end. As you can see by loading that page in a browser,

    Mic i vĀr replokal &amp;quot;The Dungeon&amp;quot;

    means

    Mic i vĀr replokal &quot;The Dungeon&quot;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://812761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2025-06-14 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.