From fededc52e1b1c530a7e0f1e11c0268862d0c3581 Mon Sep 17 00:00:00 2001
From: Moritz Bunkus <m.bunkus@linet-services.de>
Date: Wed, 2 Feb 2011 10:57:26 +0100
Subject: [PATCH] =?utf8?q?Beim=20URL-Unescapen=20von=20UTF-8=20ins=20inter?=
 =?utf8?q?nen=20Encoding=20wandeln,=20sofern=20ben=C3=B6tigt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Fix für Bug 1583.
---
 SL/Form.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/SL/Form.pm b/SL/Form.pm
index 81d6dc41b..6b1ee5009 100644
--- a/SL/Form.pm
+++ b/SL/Form.pm
@@ -394,6 +394,7 @@ sub unescape {
   $str =~ s/\\$//;
 
   $str =~ s/%([0-9a-fA-Z]{2})/pack("c",hex($1))/eg;
+  $str =  Encode::decode('utf-8-strict', $str) if $::locale->is_utf8;
 
   $main::lxdebug->leave_sub(2);
 
-- 
2.20.1