in reply to UTF-16 on WinXP written by Perl shows whitespaces.

I think it should work the way you're doing it.

Could you please try to use your script to copy a file without any modifications, and then do a binary comparison of input and output file?

  • Comment on Re: UTF-16 on WinXP written by Perl shows whitespaces.