in reply to UTF-8 for Everything

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