Bugzilla – Attachment 51798 Details for
Bug 16578
Wide character warning in opac-export.pl when utf8 chosen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16578: Same fix for the staff interface
Bug-16578-Same-fix-for-the-staff-interface.patch (text/plain), 927 bytes, created by
Jonathan Druart
on 2016-05-25 17:09:42 UTC
(
hide
)
Description:
Bug 16578: Same fix for the staff interface
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-25 17:09:42 UTC
Size:
927 bytes
patch
obsolete
>From 4f20d4bded2af844deb9590c9167c0051ed6f97a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 May 2016 18:09:27 +0100 >Subject: [PATCH] Bug 16578: Same fix for the staff interface > >--- > catalogue/export.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/catalogue/export.pl b/catalogue/export.pl >index 39cac7c..f82250d 100755 >--- a/catalogue/export.pl >+++ b/catalogue/export.pl >@@ -69,6 +69,9 @@ if ($op eq "export") { > ($error, $marc) = marc2marc($marc, 'marcstd', C4::Context->preference('marcflavour')); > $format = "marcstd"; > } >+ if ( $format =~ /utf8/ or $format =~ /marcstd/ ) { >+ binmode STDOUT, ':encoding(UTF-8)'; >+ } > print $query->header( > -type => 'application/octet-stream', > -attachment=>"bib-$biblionumber.$format"); >-- >2.8.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 16578
:
51743
|
51774
|
51798
|
51888
|
52233
|
52234