thorvald has asked for the wisdom of the Perl Monks concerning the following question:
Also new in perl. I'm following "Learning Perl" from O'Reilly and want to print greek letters. Here's what I do:
use 5.010; use utf8; $pi_char = chr(OxO3c9); print "Greek letter here $pi_char\n";
However, in the output I get:
Greek letter here
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: utf8 bloody chars
by bitingduck (Chaplain) on Oct 18, 2015 at 00:14 UTC | |
by thorvald (Initiate) on Oct 18, 2015 at 05:26 UTC | |
Re: utf8 bloody chars
by AnomalousMonk (Archbishop) on Oct 18, 2015 at 00:16 UTC | |
Re: utf8 bloody chars
by shmem (Chancellor) on Oct 18, 2015 at 10:00 UTC | |
by AppleFritter (Vicar) on Oct 18, 2015 at 10:11 UTC | |
by moritz (Cardinal) on Oct 20, 2015 at 10:33 UTC | |
Re: utf8 bloody chars
by Tux (Canon) on Oct 18, 2015 at 13:51 UTC |
Back to
Seekers of Perl Wisdom