Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
This second file contains one umlaut in ISO-8859-1 encoding. Without this umlaut there is no problem.
Is the encoding decleared in the "<?XML ... ?>" header? Without it, any XML parser assumes, as it must, that the encoding is in UTF-8. The complete, proper declaration for your case would be like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
See this for an explanation of this issue in beginners' terms.

In reply to Re: Yet Another UTF8 Issue by bart
in thread Yet Another UTF8 Issue by stefan k

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [Discipulus]: always! but if i can ask choroba why you always use the inverted (to me) form 1 == $.?
    [choroba]: To avoid accidental overwriting of the variable in if ($x = 3)
    [karlgoethebier]: Corion: Auch in hessisch? Mer wasses net.
    [Corion]: Hmm - I'm not sure, I haven't read the mundart/slang translations ;)
    [Eily]: $F[1] =~ s/^0//r could be written as (0+$F[1]). It's less explicit though
    [Discipulus]: ah! seems wise choroba, you play safe
    [shmem]: Eily: also -+-$F[1]
    [shmem]: hmm... there should be a glyph for "bembel" in unicode "miscellaneous symbols"

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (11)
    As of 2017-05-24 08:42 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?