Updated: 10/17/2017 by Computer Hope
example.cgi: Wide character in print at example.cgi line 1077
This error occurs because Perl is trying to fit things in ISO-8859-1 for backward compatibility reason, but can't and uses UTF-8 encoding instead. To fix this error, specify the encoding by using the line below at the top of your Perl script.
binmode STDOUT, ":encoding(UTF-8)"; #Set encoding