Bug 12495 - Include streetnumber in hold alert address
[koha_fer] / admin / preferences.pl
index 8bcdb0a..1513adc 100755 (executable)
@@ -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 {