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


in reply to Re^2: Perl DBI can't display Chinese text?
in thread Perl DBI can't display Chinese text?

Regarding this message:
Wide character in print at E:\...\ConnectSQLServer.pl line 122.
Figure out what file handle is being printed to at line 122 of that script. If it's STDOUT, then somewhere before you reach that statement, you should do:
binmode STDOUT, ':utf8';
If it's some file handle that you open, add ':utf8' to the mode portion of the open call - e.g.
open( my $output_handle, '>:utf8', $output_name ) or die $!;