Re: error in printing unicode

[email protected] ("Dr.Ruud")
Newsgroups perl.beginners
Organization Chaos rules.
Message-ID <[email protected]>
Daniel McClory schreef:

> use utf8; #this tells perl that there are unicode characters
> inside the .pl file


No. From the doc: "Do not use this pragma for anything else than telling
Perl that your script is written in UTF-8."
Also look for "lexical scope" in that doc.

Remember, ASCII characters don't change in UTF-8 encoding. A "use utf8"
in a script written completely in ASCII, would still add access to the
utility functions upgrade() and downgrade().

-- 
Affijn, Ruud

"Gewoon is een tijger."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.