From edaecf24148315983d48a78835f9f64e5062706e Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Mon, 19 Sep 2016 11:38:21 -0600 Subject: [PATCH] Bug 16243: (follow-up) fix utf8 problems Fix utf8 problems in opac record details, MARC View and ISBD --- opac/opac-export.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-export.pl b/opac/opac-export.pl index c0f18bf..44c2223 100755 --- a/opac/opac-export.pl +++ b/opac/opac-export.pl @@ -128,8 +128,8 @@ else { -attachment => "bib-$biblionumber.txt" ); } else { - binmode STDOUT, ':encoding(UTF-8)'; print $query->header( + -'Content-Transfer-Encoding' => 'binary', -type => 'application/octet-stream', -charset => 'utf-8', -attachment => "bib-$biblionumber.$format" -- 1.7.10.4