in reply to Re: Simplest Possible Way To Disable Unicode
in thread Simplest Possible Way To Disable Unicode
Simply silencing the warning is not the solution.
print chr(200); print chr(1000);
will continue to be different than
print chr(200) . chr(1000);
as shown here:
>perl -we"no warnings qw( utf8 ); print chr(200); print chr(1000);" | +perl -nE"say length;" 3 >perl -we"no warnings qw( utf8 ); print chr(200) . chr(1000);" | perl +-nE"say length;" 4
Update: Mistakenly used 100 instead of 200 originally.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Simplest Possible Way To Disable Unicode
by Anonymous Monk on May 24, 2011 at 00:59 UTC | |
by ikegami (Patriarch) on May 24, 2011 at 01:00 UTC | |
by Anonymous Monk on May 24, 2011 at 01:05 UTC | |
by ikegami (Patriarch) on May 24, 2011 at 01:31 UTC |