in reply to clarification on binmode STDOUT

:utf8 flips a flag, you probably wanted
binmode STDOUT, ':encoding(UTF-8)';
or
use open ':locale'; # or use open ':encoding(UTF-8)';

Replies are listed 'Best First'.
Re^2: clarification on binmode STDOUT
by Anonymous Monk on Jul 01, 2009 at 14:26 UTC
    You'll also need :std
    use open qw' :std :encoding(UTF-8) ';