Permalink
Browse files

Merge pull request #11 from miyagawa/decode-utf8

Do not short-circuit decode_utf8 with utf8 flags
  • Loading branch information...
dankogai committed Aug 29, 2013
2 parents 6b2f547 + ff65c71 commit 8005a82d8aa83024d72b14e66d9eb97d82029eeb
Showing with 0 additions and 1 deletion.
  1. +0 −1 Encode.pm
View
@@ -209,7 +209,6 @@ my $utf8enc;
sub decode_utf8($;$) {
my ( $octets, $check ) = @_;
return $octets if is_utf8($octets);
return undef unless defined $octets;
$octets .= '' if ref $octets;
$check ||= 0;

0 comments on commit 8005a82

Please sign in to comment.