Merge branch 'master' of git://git.koha-community.org/koha into 3.14-master
[koha.git] / opac / ilsdi.pl
index 48fd7ba..419c0f2 100755 (executable)
@@ -228,7 +228,7 @@ if ( $service and any { $service eq $_ } @services ) {
 }
 
 # Output XML by passing the hashref to XMLOut
-binmode(STDOUT, ":utf8");
+binmode STDOUT, ':encoding(UTF-8)';
 print CGI::header('-type'=>'text/xml', '-charset'=>'utf-8');
 print XMLout(
     $out,