Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: UTF8 issue with XML::XPath

by eserte (Deacon)
on Mar 05, 2008 at 19:18 UTC ( [id://672255]=note: print w/replies, xml ) Need Help??


in reply to Re: UTF8 issue with XML::XPath
in thread UTF8 issue with XML::XPath

If you need to specify the encoding on an XML file, then the XML parser is broken.

The XML encoding is specified in the XML file itself, and the XML parser MUST parse the encoding and act accordingly.

Seems that I was reading too fast ... it's not about parsing an XML file, but about writing an XML fragment. And indeed, this is the right solution, one has to specify the encoding himself in this situation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2026-04-21 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.