in reply to Double-bytes handling with Perl

What is "double-bytes characters"? UTF16 or UTF8?

Tutorials: perlunitut: Unicode in Perl, perluniintro/perlunitut, Perl Unicode Essentials408 (and whatever other docs they reference, unicodespec...), http://blogs.perl.org/users/brian_d_foy/2011/07/toms-unicode-scripts-so-life-is-easier.html...

  • Comment on Re: Double-bytes handling with Perl (UTF16 or UTF8)?

Replies are listed 'Best First'.
Re^2: Double-bytes handling with Perl (UTF16 or UTF8)?
by fredo2906 (Acolyte) on Oct 10, 2013 at 08:05 UTC
    Potentially I am not supposed to know what is the encoding of those characters. Gona try the use encoding "euc-jp". Thanks.
      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.