Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: XML invalid token

by Ea (Chaplain)
on Nov 15, 2011 at 16:19 UTC ( #938214=note: print w/replies, xml ) Need Help??


in reply to Re: XML invalid token
in thread XML invalid token

That's the answer I was looking for. I change the encoding from UTF-8 to ISO-8859-1 and the error disappears. This gives me something to ask the LaTexML folx as to why they're producing XML documents claiming to be utf8 when they aren't.

Many thanks, oh Nameless One!

  • Update - I even found that latexml has a --inputencoding=iso-8859-1 option to do just that. Now to figure out how to automatically detect a LaTex file's encoding ...
  • Update the II - checking out Encode::Guess and Encode::Detect

    perl -e 'print qq(Just another Perl Hacker\n)' # where's the irony switch?
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (6)
    As of 2020-08-14 20:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Which rocket would you take to Mars?










      Results (76 votes). Check out past polls.

      Notices?