Bugzilla – Attachment 35185 Details for
Bug 13579
History file should be open using utf-8 encoding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 13579: Open history.txt using utf-8 encoding
SIGNED-OFF-Bug-13579-Open-historytxt-using-utf-8-e.patch (text/plain), 812 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2015-01-14 12:57:36 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 13579: Open history.txt using utf-8 encoding
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-01-14 12:57:36 UTC
Size:
812 bytes
patch
obsolete
>From 20435ad096a137dc0b9ef7e90cf7122d595561d5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 14 Jan 2015 13:47:22 +0100 >Subject: [PATCH] [SIGNED OFF] Bug 13579: Open history.txt using utf-8 encoding > >Test plan: >Verify about>Timeline is correctly encoded > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >--- > about.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/about.pl b/about.pl >index 7f0da61..374e903 100755 >--- a/about.pl >+++ b/about.pl >@@ -223,7 +223,7 @@ if ( defined C4::Context->config('docdir') ) { > $docdir = C4::Context->config('intranetdir') . '/docs'; > } > >-if ( open( my $file, "<", "$docdir" . "/history.txt" ) ) { >+if ( open( my $file, "<encoding(UTF-8)", "$docdir" . "/history.txt" ) ) { > > my $i = 0; > >-- >1.9.1
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 13579
:
35184
|
35185
|
35186
|
35195
|
35209
|
35210