Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > error in printi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11042 of 11064
Post > Topic >>

error in printing unicode

by vladbv2006@[EMAIL PROTECTED] (Vlad Stanimir) May 8, 2008 at 08:32 PM

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




 3 Posts in Topic:
error in printing unicode
vladbv2006@[EMAIL PROTECT  2008-05-08 20:32:59 
Re: error in printing unicode
danmcclory@[EMAIL PROTECT  2008-05-08 15:21:35 
Re: error in printing unicode
rvtol+news@[EMAIL PROTECT  2008-05-08 22:48:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 6:12:22 CDT 2008.