Bugzilla – Attachment 42583 Details for
Bug 14817
Encoding issues in columns.def
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14817: (follow-up) Fix encoding issues in columns.def
Bug-14817-follow-up-Fix-encoding-issues-in-columns.patch (text/plain), 1.16 KB, created by
Josef Moravec
on 2015-09-16 10:32:59 UTC
(
hide
)
Description:
Bug 14817: (follow-up) Fix encoding issues in columns.def
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2015-09-16 10:32:59 UTC
Size:
1.16 KB
patch
obsolete
>From 59c531b851c28b6dcb2f60ab1913e3bf7a312ecb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 16 Sep 2015 09:24:07 +0100 >Subject: [PATCH] Bug 14817: (follow-up) Fix encoding issues in columns.def > >Follow-up for reports. > >Test plan: >1/ Use a translated template (fr-FR or ar-Arab) >2/ Go on the report guided page, step 3 >3/ The field names should be correctly encoded. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Reports/Guided.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm >index c714213..cb09651 100644 >--- a/C4/Reports/Guided.pm >+++ b/C4/Reports/Guided.pm >@@ -884,7 +884,7 @@ sub _get_column_defs { > my ($theme, $lang, $availablethemes) = C4::Templates::themelanguage($htdocs, 'about.tt', $section, $cgi); > > my $full_path_to_columns_def_file="$htdocs/$theme/$lang/$columns_def_file"; >- open (my $fh, $full_path_to_columns_def_file); >+ open (my $fh, '<:encoding(utf-8)', $full_path_to_columns_def_file); > while ( my $input = <$fh> ){ > chomp $input; > if ( $input =~ m|<field name="(.*)">(.*)</field>| ) { >-- >2.1.4
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 14817
:
42524
|
42571
|
42582
|
42583
|
42713
|
42714