diff --git a/opac/svc/report b/opac/svc/report index 194707b7c0..57ca79734d 100755 --- a/opac/svc/report +++ b/opac/svc/report @@ -67,5 +67,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 3ae39a2d4f..0cff7dc4c1 100755 --- a/svc/report +++ b/svc/report @@ -77,5 +77,8 @@ unless ($json_text) { } } -print $query->header; +print $query->header( + -charset => 'UTF-8', + -type => 'application/json' +); print $json_text;