in reply to Re^2: script inserts \x00 bytes on WinXP
in thread script inserts \x00 bytes on WinXP

Try hexdump/od utilities
perl blah ... | hexdump or perl blah ... | od -tacx1
You can get them from
http://gnuwin32.sourceforge.net/packages/hextools.htm
http://gnuwin32.sourceforge.net/packages/coreutils.htm

Replies are listed 'Best First'.
Re^4: script inserts \x00 bytes on WinXP
by dwhite20899 (Friar) on Sep 06, 2008 at 11:24 UTC
    Anon - od -c shows the file is literally full of only "?" chars and a few "\n" chars.
      lol, thats not what i wrote
        Anon -

        sorry. I had looked at it with "od -c" and shot off the reply.

        od -tacx1 fooutf2 | head 0000000 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f + 3f * 0000040 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? +nl ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? +\n 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f + 0a 0000060 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f 3f + 3f