I really don't think you understand what the utf8 pragma does. Here's another quote from the documentation (first line of the description):
"The use utf8 pragma tells the Perl parser to allow UTF-8 in the program text in the current lexical scope ..."
It has nothing to do with the:
Let me reiterate the quote I provided in my earlier post from the utf8 documentation:
"Do not use this pragma for anything else than telling Perl that your script is written in UTF-8."
It has nothing to do with data read into the script, data processed by the script, data generated by the script or data output by the script. It's only about the text used to write the script and how Perl should parse that source text.
-- Ken
In reply to Re^5: treat files with umlauts (utf)
by kcott
in thread treat files with umlauts (utf)
by mike.scharnow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |