From: Paul Poulain <[email protected]>

xml declaration of charset is now set to utf8
---
 opac/ilsdi.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl
index 18f424d..1a97abe 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       => '<?xml version="1.0" encoding="ISO-8859-1" ?>',
+    xmldecl       => '<?xml version="1.0" encoding="UTF-8" ?>',
     RootName      => $service,
     SuppressEmpty => 1
 );
-- 
1.5.6.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to