Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: XML invalid token

by Sinistral (Prior)
on Nov 15, 2011 at 15:28 UTC ( #938199=note: print w/ replies, xml ) Need Help??

in reply to XML invalid token

Although it seems like the right thing to do, use utf8 simply informs Perl that you will be using UTF-8 encoded text within your script itself, not necessarily in the data files being read from or written to. Although it references XML::DOM, this thread should help you with the right voodoo for binmode and encoding: error parsing utf8 chars using XML DOM parser

Update: You might also want to check out Unicode-processing issues in Perl and how to cope with it

Comment on Re: XML invalid token

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-12-01 06:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (795 votes), past polls