Syntactic Confectionery Delight | |
PerlMonks |
Re: utf8 bloody charsby shmem (Chancellor) |
on Oct 18, 2015 at 10:00 UTC ( [id://1145251]=note: print w/replies, xml ) | Need Help?? |
To interpolate unicode chars into strings you can use also
as stated in perlunicode. If you get the warning Wide character in print, use the -C command line switch at least as -CO (that's an 'oh', not a zero :-). See perlrun. You can find official unicode character names at decodeunicode.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|