perl脚本在Windows运行乱码的问题

use utf8;
binmode(STDOUT, ":encoding(gbk)");

第二种

use Encode;

猜你喜欢

转载自blog.csdn.net/yyf960126/article/details/85639598