Bugzilla – Attachment 42582 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: Fix encoding issues in columns.def
Bug-14817-Fix-encoding-issues-in-columnsdef.patch (text/plain), 1001 bytes, created by
Josef Moravec
on 2015-09-16 10:32:54 UTC
(
hide
)
Description:
Bug 14817: Fix encoding issues in columns.def
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2015-09-16 10:32:54 UTC
Size:
1001 bytes
patch
obsolete
>From 5e01b2fe060cdcea3e3020db335e1ce0b012059c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Sep 2015 15:02:50 +0100 >Subject: [PATCH] Bug 14817: Fix encoding issues in columns.def > >Test plan: >1/ Use a translated template (fr-FR or ar-Arab) >2/ Go on the tools/import_patrons.pl page >3/ The field names in the "default values" block should be correctly >encoded. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Templates.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index b7f770d..4f23dc7 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -332,7 +332,7 @@ sub GetColumnDefs { > # Build columns.def path > my $path = "$htdocs/$theme/$lang/$columns_file"; > my $fh; >- if ( ! open ( $fh, q{<}, $path ) ) { >+ if ( ! open ( $fh, q{<:encoding(utf-8)}, $path ) ) { > carp "Error opening $path. Check your templates."; > return; > } >-- >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