From 52af365f474c9f4747f946ec2171a920eb83e64b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 9 Jun 2014 12:44:35 +0200 Subject: [PATCH] Revert "Bug 12279: Diacritics in system preference editor broken" This reverts commit 2fa2480447a58f9d5d3f7834bcfdcf62a0a95df3. Signed-off-by: Tomas Cohen Arazi Conflicts: admin/preferences.pl Signed-off-by: Dobrica Pavlinusic http://bugs.koha-community.org/show_bug.cgi?id=11944 Signed-off-by: Martin Renvoize --- admin/preferences.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index b6cdaa2c2b..a6b47763a4 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -20,7 +20,6 @@ use Modern::Perl; use CGI qw ( -utf8 ); -use Encode; use C4::Auth; use C4::Context; use C4::Koha; @@ -55,7 +54,7 @@ sub GetTab { local_currency => $local_currency, # currency code is used, because we do not know how a given currency is formatted. ); - return YAML::Syck::Load( Encode::decode('UTF-8',$tab_template->output()) ); + return YAML::Syck::Load( $tab_template->output() ); } sub _get_chunk { -- 2.39.5