Hi,

>
> > use warnings;
> > use strict;
> > use utf8;
> >
> > `chcp 65001`;   # Oops
>

   Ofcourse, one can argue that there is nothing wrong with that. But I
think is not "RIGHT" to just discard the output return by the backtick in a
void context.
In that light I concur with Charles DeRykus, that is better on uses
system() function.
So, the above can be written as thus:

 system("chcp 65001>nil");    # this works for me Using  OS Win 7 32bits

> binmode STDOUT, ":encoding(UTF-8)";
> > print "\x{03B1}\x{03C9}\n";
>

Reply via email to