Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: script inserts \x00 bytes on WinXPby gok8000 (Scribe) |
on Sep 05, 2008 at 20:21 UTC ( [id://709383]=note: print w/replies, xml ) | Need Help?? |
I've looked a comparative ASCII table between Mac and Win. x00 is the null on both platforms. xb0 is infinity on Mac, but has no correspondence on Win. So probably on Win x00 comes out in place of xb0.
A solution might be to global substitute xb0 with x27, the "degree", before any processing. And probably you will be off.
In Section
Seekers of Perl Wisdom
|
|