in reply to Re^4: treat files with umlauts (utf)
in thread treat files with umlauts (utf)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: treat files with umlauts (utf)
by hazylife (Monk) on Apr 01, 2014 at 14:00 UTC | |
by kcott (Archbishop) on Apr 02, 2014 at 01:30 UTC | |
by hazylife (Monk) on Apr 02, 2014 at 10:54 UTC | |
by mike.scharnow (Initiate) on Apr 07, 2014 at 08:25 UTC |