in reply to Parsing extended ascii characters using XML::LibXML...
even though the XML document has specified the encoding as UTF-8 !
That's a problem, since your document is not encoded using UTF-8.
"Â" is encoded as bytes "C3 82" in UTF-8.
"Â" is encoded as byte "C2" in a variety of encodings, including
So which is your document's actual encoding?
You'll need to specify it in the <?xml?> tag.
<?xml version="1.0" encoding="..."?> ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing extended ascii characters using XML::LibXML...
by biswanath_c (Beadle) on Oct 28, 2009 at 14:52 UTC | |
by almut (Canon) on Oct 28, 2009 at 16:25 UTC | |
by ikegami (Patriarch) on Oct 28, 2009 at 16:57 UTC |