Bugzilla – Attachment 35186 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]
Bug 13579: Open history.txt using utf-8 encoding
Bug-13579-Open-historytxt-using-utf-8-encoding.patch (text/plain), 939 bytes, created by
Marcel de Rooy
on 2015-01-14 13:02:35 UTC
(
hide
)
Description:
Bug 13579: Open history.txt using utf-8 encoding
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-01-14 13:02:35 UTC
Size:
939 bytes
patch
obsolete
>From d3beba36c2c23f5b2e84f2c172270599d174d1ec 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] Bug 13579: Open history.txt using utf-8 encoding >Content-Type: text/plain; charset=utf-8 > >Test plan: >Verify about>Timeline is correctly encoded > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Replaced <encoding by <:encoding. >--- > about.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/about.pl b/about.pl >index 7f0da61..9fd1545 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.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 13579
:
35184
|
35185
| 35186 |
35195
|
35209
|
35210