我跑,它使用一个perl程序/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/Encode.pm
并发出错误
在/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/Encode.pm线174无法解码字符串宽字符。
174线Encode.pm
读
sub decode($$;$) {
my ( $name, $octets, $check ) = @_;
return undef unless defined $octets;
$octets .= '' if ref $octets;
$check ||= 0;
my $enc = find_encoding($name);
unless ( defined $enc ) {
require Carp;
Carp::croak("Unknown encoding '$name'");
}
my $string = $enc->decode( $octets, $check ); # line 174
$_[1] = $octets if $check and !ref $check and !( $check & LEAVE_SRC() );
return $string;
}
任何解决方法吗?