|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^3: script inserts \x00 bytes on WinXPby dwhite20899 (Friar) |
| on Sep 06, 2008 at 01:38 UTC ( [id://709423]=note: print w/replies, xml ) | Need Help?? |
|
the output file contains one huge line of
\x{4445}\x{3035}\x{533b}\x{676f}\x{203b}\x{2e34}\x{4e37}\x{6475}\x{736f}\x{203b}\x{6f43} Seriously, an "od -c" of the output file shows this:
I actually got my hands on a WinXP machine running ActivePerl and ran the script with this code on XP, and got the above output. Horrible thing is (for my friend) when I run my original script on XP, it works like I expect - NOT producing the \x00 bytes! I don't understand this, and I can't replicate it, and I can't visit him (10 time zones away) to see WTF is going on.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||