If you don't have a file called Latin-1.enc under your XML/Parser/Encodings directory, get it from somewhere or make one for yourself. If you already have it, you are ready to go now.

Actually there is no such file in the Encodings directory and there is no need for one. ISO-8859-1 is understood by expat natively:

From XML::Parser doc:

ProtocolEncoding
               This is an Expat option. This sets the protocol encoding name.
               It defaults to none. The built-in encodings are: "UTF-8",
               "ISO-8859-1", "UTF-16", and "US-ASCII". Other encodings may be
               used if they have encoding maps in one of the directories in
               the @Encoding_Path list. Check the section on "ENCODINGS" for
               more information on encoding maps. Setting the protocol encod-
               ing overrides any encoding in the XML declaration.

In reply to Re: Re: XML Simple Charset Q? by mirod
in thread XML Simple Charset Q? by dingus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.