http://www.perlmonks.org?node_id=1042947


in reply to UTF-8 for Everything

Instead of
use encoding qw( UTF-8 );
try use
use utf8;
see docs for encoding module