From 515914fffccbcae0e579eb4c5034b63f3e6ac01e Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 28 May 2014 14:43:51 +0200 Subject: [PATCH] Bug 12279: Diacritics in system preference editor broken Temporary fix into preferences.pl. Bug 11944 should provide the real fix.. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- admin/preferences.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index 8bcdb0a0da..1513adc5c6 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -21,6 +21,7 @@ use strict; use warnings; use CGI; +use Encode; use C4::Auth; use C4::Context; use C4::Koha; @@ -54,7 +55,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( $tab_template->output() ); + return YAML::Syck::Load( Encode::decode('UTF-8',$tab_template->output()) ); } sub _get_chunk { -- 2.39.5