Based on your updated post (thanks for the added details -- that helps), it looks like you are trying to use ISO-8859-1 in your xml data file of phrase translations, and one step or another in the process is converting these to utf8 for you. (Maybe Class::PhraseBook is doing that, I don't know.)
It might not be surprising that the conversion to utf8 is happening -- it makes things easier for multi-language text processing, in general. If you want to make sure that your final output reverts back to 8859-1, you'll probably want to use a PerlIO encoding layer on STDOUT -- like this:
binmode STDOUT, ":encoding(iso-8859-1)";
Do that before you start printing any page content. (update: and hope that some clever module doesn't reset it to ":utf8" for you later on)
Alternatively, you could just "go with the flow", have your page content written as utf8 text, and change your browser to use utf8 instead of 8859-1 -- probably no code-changes needed at all if you do it that way.
(update: when I set my browser to use utf8, the OP shows the correct character in the example that the OP says is "wrong")
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.