cazz has asked for the wisdom of the Perl Monks concerning the following question:
On my dev box, perl now does this:$ perl -e 'print "\xff"' | od -x 0000000 00ff 0000001
What changed? And of course, more importantly, how do I put it back? I've straced perl, and it is printing the wrong thing:$ perl -e 'print "\xff"' |od -x 0000000 bfc3 0000002
BTW, this is 5.8.0, installed from Redhat's perl-5.8.0-55 RPM.$ strace perl -e 'print "\xff"' 2>&1| grep write write(1, "\303\277", 2ÿ) = 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl gone wonkers when handling binary data?
by RMGir (Prior) on Apr 14, 2004 at 16:17 UTC | |
by ysth (Canon) on Apr 14, 2004 at 16:32 UTC | |
by cazz (Pilgrim) on Apr 14, 2004 at 18:24 UTC |