diff --git a/opac/svc/report b/opac/svc/report index 38cbd426d8..37e5997e78 100755 --- a/opac/svc/report +++ b/opac/svc/report @@ -60,5 +60,8 @@ unless ($json_text) { } } -print $query->header; +print $query->header( + -charset => 'UTF-8', + -type => 'application/json' +); print $json_text; diff --git a/svc/report b/svc/report index 654ef1572b..68bde341cc 100755 --- a/svc/report +++ b/svc/report @@ -69,5 +69,8 @@ unless ($json_text) { } } -print $query->header; +print $query->header( + -charset => 'UTF-8', + -type => 'application/json' +); print $json_text;