Bugzilla – Attachment 35184 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), 742 bytes, created by
Jonathan Druart
on 2015-01-14 12:49:34 UTC
(
hide
)
Description:
Bug 13579: Open history.txt using utf-8 encoding
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-01-14 12:49:34 UTC
Size:
742 bytes
patch
obsolete
>From ef5d0022b151362fefbe4e23cc7853b8a6c3104f 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 > >Test plan: >Verify about>Timeline is correctly encoded >--- > 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; > >-- >2.1.0
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