From b7435fbe6e39c795486fb59a4a92144f52f16f63 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 1 Oct 2009 13:55:10 +0200 Subject: [PATCH] ilsdi.pl : character encoding declaration update xml declaration of charset is now set to utf8 --- opac/ilsdi.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index 18f424d30f..1a97abefff 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -215,13 +215,13 @@ if ( $service and grep { $service eq $_ } @services ) { } # Output XML by passing the hashref to XMLOut -print CGI::header('text/xml'); +print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8'); print XMLout( $out, noattr => 1, noescape => 1, nosort => 1, - xmldecl => '', + xmldecl => '', RootName => $service, SuppressEmpty => 1 ); -- 2.39.2