in reply to perl gone wonkers when handling binary data?
There's a known issue with RH9 and its perl 5.8.0 build; the default LANG setting (en_US.utf8) results in perl running in UTF-8 mode rather than ASCII mode.LANG=en_US strace perl -e 'print "\xff"' 2>&1| grep write
The LANG setting sould set things to rights.
(Edit: ysth++ is correct, it's not strictly an RH9 issue. But RH9 does set the default LANG value as utf8, which exposes the perl 5.8.0 issue)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl gone wonkers when handling binary data?
by ysth (Canon) on Apr 14, 2004 at 16:32 UTC | |
|
Re: Re: perl gone wonkers when handling binary data?
by cazz (Pilgrim) on Apr 14, 2004 at 18:24 UTC |