From: "Gunnar Hjalmarsson" <nore...@gunnar.cc>
[ new attempt - encoding is tricky... ]
Gunnar Hjalmarsson wrote:
Octavian Râsnita wrote:
If I used it in a UTF-8 encoded perl program and was also using "use
utf8;" in it, I expected that it understand that it should be encoded to
UTF-8.
I don't think that's what the utf8 pragma is about. (But, as I'm sure you
understand, my UTF-8 knowledge is limited.)
perldoc utf8
This is an example program where "use utf8;" makes a difference:
use utf8;
$igår = '2009-02-24';
print "Yesterday: $igår\n";
("igår" is Swedish for "yesterday")
--
Gunnar Hjalmarsson
Well I have tried the scripts from the 2 messages, but I must admit that I
don't understand what I should look for.
Both of them print the same thing, no matter if I use "use utf8;" or not....
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/