Bugzilla – Attachment 28614 Details for
Bug 12279
Diacritics in system preference editor broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12279: Diacritics in system preference editor broken
Bug-12279-Diacritics-in-system-preference-editor-b.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2014-06-02 14:34:49 UTC
(
hide
)
Description:
Bug 12279: Diacritics in system preference editor broken
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-02 14:34:49 UTC
Size:
1.08 KB
patch
obsolete
>From 037c5f16cc5c2b57eb75f7762d059e48f7b782c5 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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 <tomascohen@gmail.com> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > admin/preferences.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/admin/preferences.pl b/admin/preferences.pl >index 8bcdb0a..1513adc 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.0.0.rc2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12279
:
28316
|
28317
|
28318
|
28375
|
28377
|
28378
|
28380
|
28424
|
28438
|
28517
|
28557
| 28614