in reply to utf8 bloody chars
To interpolate unicode chars into strings you can use also
print "Greek letter here \x{03c9}\n"; print "Greek letter here \N{U+03c9}\n"; print "Greek letter here \N{GREEK SMALL LETTER OMEGA}\n";
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: utf8 bloody chars
by AppleFritter (Vicar) on Oct 18, 2015 at 10:11 UTC | |
|
Re^2: utf8 bloody chars
by moritz (Cardinal) on Oct 20, 2015 at 10:33 UTC |