If I run the following Perl program:
perl -e \'use utf8; print \"鸡\\n\";\'
I get this warning:
Wide character in print at -
Encode all standard output as UTF-8:
binmode STDOUT, ":utf8";