Skip to content

Commit 8005a82

Browse files
committed
Merge pull request #11 from miyagawa/decode-utf8
Do not short-circuit decode_utf8 with utf8 flags
2 parents 6b2f547 + ff65c71 commit 8005a82

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Encode.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ my $utf8enc;
209209

210210
sub decode_utf8($;$) {
211211
my ( $octets, $check ) = @_;
212-
return $octets if is_utf8($octets);
213212
return undef unless defined $octets;
214213
$octets .= '' if ref $octets;
215214
$check ||= 0;

0 commit comments

Comments
 (0)