Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: error parsing utf8 chars using XML DOM parser

by ikegami (Patriarch)
on Nov 01, 2011 at 20:14 UTC ( [id://935208]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MEncode -e'
       print encode "UTF-8",
    ...
    '
    <?xml version="1.0" encoding="UTF-8"?>
    <Name>IssuéTést</Name>
    
  2. or download this
    $ perl -MEncode -e'
       print encode "iso-8859-1",  # Wrong!
    ...
    '
    
    not well-formed (invalid token) at line 2, column 10, byte 49 at .../X
    +ML/Parser.pm line 187
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found