From: Jarkko Hietaniemi Date: Mon, 12 Nov 2001 12:32:13 +0000 (+0000) Subject: Ooops. I was "fixing" the wrong routine in #12947 and #12950. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=50de6d7ea6627af63fe7cc0e7a62e105a73a0565;p=p5sagit%2Fp5-mst-13.2.git Ooops. I was "fixing" the wrong routine in #12947 and #12950. p4raw-id: //depot/perl@12951 --- diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm index a673fef..bae9389 100644 --- a/ext/Encode/Encode.pm +++ b/ext/Encode/Encode.pm @@ -264,7 +264,6 @@ sub encode_utf8 sub decode_utf8 { my ($str) = @_; - return pack("C*", unpack("U*", $str)) if is_utf8($str); return undef unless utf8::decode($str); return $str; }