in reply to Re^3: DWIM with non ASCII characters
in thread DWIM with non ASCII characters
More importantly, use utf8; allows you to do
my $foo = 'ñ';
Hmm, then I must have configured something in my system, since I can do that without use'ing utf8:
$ xxd ñ.pl 0000000: 7072 696e 7420 27c3 b127 0a print '..'. $ env -i /usr/bin/perl -Mstrict -wl ñ.pl ñ
--
David Serrano
(Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: DWIM with non ASCII characters
by almut (Canon) on May 07, 2010 at 15:10 UTC | |
by Hue-Bond (Priest) on May 07, 2010 at 21:06 UTC | |
Re^5: DWIM with non ASCII characters
by ikegami (Patriarch) on May 07, 2010 at 16:09 UTC |
In Section
Seekers of Perl Wisdom