Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

by mirod (Canon)
on Jul 11, 2013 at 13:35 UTC ( #1043726=note: print w/replies, xml ) Need Help??

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


Did you really read the part where I advised you NOT to use ProtocolEncoding?

If you have to deal with XML, please educate yourself about encodings, it will pay off in the very short term.

  • Comment on Re^3: XML::Parser does not parse the Symbol

Replies are listed 'Best First'.
Re^4: XML::Parser does not parse the Symbol
by gopalr (Priest) on Jul 12, 2013 at 12:19 UTC

    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?

      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).


        Thanks for your guidance

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-09-19 12:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found