Bugzilla – Attachment 43000 Details for
Bug 14832
Encoding issues when exporting in RIS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14832: Fix encoding issues when exporting in RIS
Bug-14832-Fix-encoding-issues-when-exporting-in-RI.patch (text/plain), 1.04 KB, created by
Magnus Enger
on 2015-10-01 09:53:34 UTC
(
hide
)
Description:
Bug 14832: Fix encoding issues when exporting in RIS
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2015-10-01 09:53:34 UTC
Size:
1.04 KB
patch
obsolete
>From ffb3f86e24f42fd10b5222dc6576f785d4630940 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 16 Sep 2015 09:41:41 +0100 >Subject: [PATCH] Bug 14832: Fix encoding issues when exporting in RIS > >Test plan: >1/ Make sure you have non ASCII chars in the title and the authors. >2/ Export the record in RIS >You should not see any encoding problems. > >Signed-off-by: Magnus Enger <magnus@libriotech.no> >Before patch: RIS file has wrongly encoded chars >After patch: RIS file has no endcoding problems >Tested on a NORMARC setup. >--- > C4/Ris.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Ris.pm b/C4/Ris.pm >index bb2213c..d333461 100644 >--- a/C4/Ris.pm >+++ b/C4/Ris.pm >@@ -106,7 +106,7 @@ sub marc2ris { > open my $oldout, ">&STDOUT"; > my $outvar; > close STDOUT; >- open STDOUT,'>', \$outvar; >+ open STDOUT,'>:encoding(utf8)', \$outvar; > > ## First we should check the character encoding. This may be > ## MARC-8 or UTF-8. The former is indicated by a blank, the latter >-- >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 14832
:
42573
|
43000
|
43039