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 <tomascohen@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This commit is contained in:
parent
789c562e18
commit
2fa2480447
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue