I just finished reading "Beginning Perl by Simon Cozens Chapter 1: First Steps In Perl" and i tried to print a Unicode character using the \x{} but i got a strange outcome i don't understand.
The code was:

#!/user/bin/perl
use warnings;
print "\x{2620}\n";

and the result was:

Wide character in print at C:\Documents and Settings\Vlad\desktop\test.plx line 3.
?ÿá

I used windows xp
cmd.exe
and i have activeperl 5.10.0 build 1002


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to