@@ -, +, @@ - Enable OverDrive - Do a search and find a book with non-ascii characters in title and/or description. E.g. "Blomsterbönder". - Check the book out - Go to "your summary" and the "OverDrive Account" tab - Observe the broken characters - Apply the patch and restart all the things - Reload the "your summary" page - Look at the "OverDrive Account" tab again, and verify the text is displayed without broken characters - Sign off --- opac/svc/overdrive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/opac/svc/overdrive +++ a/opac/svc/overdrive @@ -20,7 +20,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); -use JSON qw(encode_json); +use JSON qw(to_json); use C4::Auth qw(checkauth); use C4::Output; use Koha::Logger; @@ -159,6 +159,6 @@ sub response_bad_request { sub response { my ($data, $status_line) = @_; $status_line ||= "200 OK"; - output_with_http_headers $cgi, undef, encode_json($data), 'json', $status_line; + output_with_http_headers $cgi, undef, to_json($data), 'json', $status_line; exit; } --