in reply to Re^3: script inserts \x00 bytes on WinXP
in thread script inserts \x00 bytes on WinXP
It's not Perl. The input file he used is different than yours, the output file he gave you is not the output he really got, or the script he used is different. The most likely explanation is that somewhere before or after the script was run, the input or output file was converted to UTF-16.