in reply to Bug in perl -C (Unicode) option parsing?
#!/usr/bin/perl -l -CDS use strict; use warnings; use diagnostics; binmode STDOUT, ":utf8"; print ${^UNICODE}, ' ', "\x{100}";
Perl met a wide character when it wasn't expecting one, so you have to add the utf8 layer to silence it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bug in perl -C (Unicode) option parsing?
by ikegami (Patriarch) on Feb 13, 2007 at 07:25 UTC | |
by Khen1950fx (Canon) on Feb 13, 2007 at 07:39 UTC |