@@ -, +, @@ - Have records indexed - Open your OPAC logs: $ tail -f /var/log/koha/kohadev/opac-error.log - Open the detail page in the opac for a record - Choose Save record > MARC (Unicode/UTF-8) - Choose Save record > MARC (Unicode/UTF-8, Standard) - Apply the patch - Choose Save record > MARC (Unicode/UTF-8) - Choose Save record > MARC (Unicode/UTF-8, Standard) - Sign off :-D --- opac/opac-export.pl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) --- a/opac/opac-export.pl +++ a/opac/opac-export.pl @@ -17,8 +17,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use C4::Record; use C4::Auth; @@ -107,11 +106,15 @@ else { -charset => 'utf-8', -attachment => "bib-$biblionumber.txt" ); - }else{ + } else { + binmode STDOUT, ':encoding(UTF-8)'; print $query->header( -type => 'application/octet-stream', - -charset=>'utf-8', - -attachment=>"bib-$biblionumber.$format"); + -charset => 'utf-8', + -attachment => "bib-$biblionumber.$format" + ); } print $marc; } + +1; --