Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: XML::Parser does not parse the Symbol

by gopalr (Priest)
on Jul 12, 2013 at 12:19 UTC ( #1043953=note: print w/ replies, xml ) Need Help??


in reply to Re^3: XML::Parser does not parse the Symbol
in thread XML::Parser does not parse the Symbol

Please correct me if I am wrong.

You mean that adding the encoding in the xml declaration as follows in xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>

Is that you are suggestion?


Comment on Re^4: XML::Parser does not parse the Symbol
Download Code
Re^5: XML::Parser does not parse the Symbol
by mirod (Canon) on Jul 12, 2013 at 12:51 UTC

    Yes,if the data is in 8859-1, then it should be marked as such. Otherwise it's not proper XML, it won't parse with any proper parser.

    Make sure it is indeed in ISO-8859-1 though, sometimes it is in windows 1251, which is similar to ISO-8859-1 but not quite (some of the code points are used for different characters, like the smart quotes).

      Mirod

      Thanks for your guidance

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-04 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls