Bugzilla – Attachment 16968 Details for
Bug 6554
Resolve encoding problems with corrected UTF8 handling in templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6554: Followup for preferences.pl
Bug-6554-Followup-for-preferencespl.patch (text/plain), 1003 bytes, created by
Marcel de Rooy
on 2013-03-28 13:46:54 UTC
(
hide
)
Description:
Bug 6554: Followup for preferences.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-03-28 13:46:54 UTC
Size:
1003 bytes
patch
obsolete
>From 471f0a4647d458a817f92a0b76218b7b640111f4 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 28 Mar 2013 12:51:26 +0100 >Subject: [PATCH] Bug 6554: Followup for preferences.pl >Content-Type: text/plain; charset="utf-8" > >Decodes searchfield. > >Test plan: >Look for e accent in preferences. You should no longer see converted chars. >--- > admin/preferences.pl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/admin/preferences.pl b/admin/preferences.pl >index e24657e..2182591 100755 >--- a/admin/preferences.pl >+++ b/admin/preferences.pl >@@ -21,6 +21,7 @@ use strict; > use warnings; > > use CGI; >+ > use C4::Auth; > use C4::Context; > use C4::Koha; >@@ -296,7 +297,8 @@ if ( $op eq 'save' ) { > my @TABS; > > if ( $op eq 'search' ) { >- my $searchfield = $input->param( 'searchfield' ); >+ my $searchfield = $input->param('searchfield'); >+ utf8::decode($searchfield); > > $searchfield =~ s/\p{IsC}//g; > $searchfield =~ s/\s+/ /; >-- >1.7.7.6
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 6554
:
4558
|
4560
|
4561
|
4562
|
4563
|
4564
|
5962
|
6041
|
6065
|
6070
|
6071
|
6072
|
6073
|
6076
|
6077
|
6078
|
6079
|
6080
|
6083
|
6084
|
6085
|
6108
|
10118
|
16780
|
16797
|
16857
|
16905
|
16929
|
16930
|
16931
|
16932
|
16960
|
16961
|
16962
|
16963
|
16964
|
16966
|
16968
|
16969
|
16984
|
16985
|
16986
|
16987
|
16988
|
16989
|
17179
|
17186
|
17187
|
17327
|
17328
|
18746
|
18747
|
18749
|
18750
|
21318
|
21399
|
21478
|
21488
|
21506
|
21509
|
21581
|
21629
|
21631
|
21632
|
21682
|
21937
|
21955
|
21978
|
21980
|
21981
|
23107
|
23140