From d4260af339b74b597e96b5223e5ee8d88de5925d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Andr=C3=A9=20Santoni?= Date: Fri, 26 Feb 2010 21:37:47 +0100 Subject: [PATCH] Fixed an encoding bug in the documentation Moved the binmode pragma to the end of the file, so it won't affect documentation templates. So no more double encoding. Signed-off-by: Henri-Damien LAURENT Signed-off-by: Galen Charlton --- opac/ilsdi.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index 0935a68568..c979e72b26 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -228,6 +228,7 @@ if ( $service and any { $service eq $_ } @services ) { } # Output XML by passing the hashref to XMLOut +binmode(STDOUT, ":utf8"); print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8'); print XMLout( $out, -- 2.39.5