@@ -, +, @@ --- basket/downloadcart.pl | 5 +++++ opac/opac-downloadcart.pl | 5 +++++ 2 files changed, 10 insertions(+) --- a/basket/downloadcart.pl +++ a/basket/downloadcart.pl @@ -72,6 +72,11 @@ if ($bib_list && $format) { if ($format eq 'iso2709') { $output .= $record->as_usmarc(); + if ($output){ + #NOTE: If we don't explicitly UTF-8 encode the output, + #the browser will guess the encoding, and it won't always choose UTF-8. + $output = encode("UTF-8", $output); + } } elsif ($format eq 'ris') { $output .= marc2ris($record); --- a/opac/opac-downloadcart.pl +++ a/opac/opac-downloadcart.pl @@ -91,6 +91,11 @@ if ($bib_list && $format) { if ($format eq 'iso2709') { $output .= $record->as_usmarc(); + if ($output){ + #NOTE: If we don't explicitly UTF-8 encode the output, + #the browser will guess the encoding, and it won't always choose UTF-8. + $output = encode("UTF-8", $output); + } } elsif ($format eq 'ris') { $output .= marc2ris($record); --