in reply to Re: Double-bytes handling with Perl (UTF16 or UTF8)?
in thread Double-bytes handling with Perl

Potentially I am not supposed to know what is the encoding of those characters. Gona try the use encoding "euc-jp". Thanks.
  • Comment on Re^2: Double-bytes handling with Perl (UTF16 or UTF8)?

Replies are listed 'Best First'.
Re^3: Double-bytes handling with Perl (UTF16 or UTF8)?
by fredo2906 (Acolyte) on Oct 10, 2013 at 08:10 UTC
    It doesnt work. Looks like the issue is on the call to shell command. I pipe the command to "tee" then make a diff, and I get 6 lines that are not in the file. Very strange, because if I execute the command directly from my shell, it works perfectly.