I'd be so glad if anybody could help me. Normally when I open a file an write a string like "Datensätze" to it, the "ä" is written as a single-byte character, which is what i need. "ä" is allowed in iso-latin-1 characterset. Now, in a huge module I've written, "ä" is suddenly output as "ä", which is the unicode representation. The problem is, that I really need the output to be iso-latin-1. I have no idea what causes perl to output a two-byte character. I have tried with "no utf-8", but it didn't help. The problem may be due to me loading XML::SimpleObject or HTML::Entities. Does anybody happen to know if one of those modules sets a global switch so that output is in unicode format? Would you mind sending your reply to jpmnk /at/ grossman.de as well, as to make sure I receive asap? Thank you very much for your help, Björn

In reply to How to output by butz747

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.