From 0ab929155ed24fd4f79dcc27fde61ec91723851a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 28 Dec 2011 19:58:27 +0100 Subject: [PATCH] =?utf8?q?typo:=20pack=20"c"=20ist=20f=C3=BCr=20signed=20b?= =?utf8?q?yte,=20pack=20"C"=20f=C3=BCr=20unsigned=20byte?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/MoreCommon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/MoreCommon.pm b/SL/MoreCommon.pm index 1b83653e2..1c1e001d3 100644 --- a/SL/MoreCommon.pm +++ b/SL/MoreCommon.pm @@ -176,7 +176,7 @@ sub uri_decode { $str =~ tr/+/ /; $str =~ s/\\$//; - $str =~ s/%([0-9a-fA-Z]{2})/pack("c",hex($1))/eg; + $str =~ s/%([0-9a-fA-Z]{2})/pack("C",hex($1))/eg; $str = Encode::decode('utf-8-strict', $str) if $::locale->is_utf8; return $str; -- 2.20.1