From: Jean-André Santoni <[email protected]> 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 <[email protected]> --- opac/ilsdi.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index b1a8203..6cca985 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -226,6 +226,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, -- 1.6.3.3 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
