unicode
Perl5.8でdecodeが失敗する。 find_encoding('utf8')->decode($data); とすると、こんなメッセージ出す。 Cannot decode string with wide characters. 入力データ($data)はUTF8の文字列。 guess_encoding($data, qw/shiftjis utf8 ascii/)->name #=> utf8 …
Perl5.8でdecodeが失敗する。 find_encoding('utf8')->decode($data); とすると、こんなメッセージ出す。 Cannot decode string with wide characters. 入力データ($data)はUTF8の文字列。 guess_encoding($data, qw/shiftjis utf8 ascii/)->name #=> utf8 …