Ea has asked for the wisdom of the Perl Monks concerning the following question:
I've naively tried adding use utf8; to the script, but I still get the error. I believe I could just tr/// that bad boy into something less problematic, but I was wondering if there was a lazier way, like a setting in XML::Parser that I can add to the handlers?
For the curious, I'm getting my output from LaTeXML, a set perl tools for converting LaTeX to XML. There might be some scope to process the output before I parse the XML, but I suspect that it'll look a.
thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML invalid token
by Anonymous Monk on Nov 15, 2011 at 16:10 UTC | |
by Ea (Chaplain) on Nov 15, 2011 at 16:19 UTC | |
|
Re: XML invalid token
by Sinistral (Monsignor) on Nov 15, 2011 at 15:28 UTC |