Bug 6679 :[SIGNED-OFF] Fixing some perlcritic violations in the opac
[koha_gimpoz] / opac / unapi
index fef5f91..0f97ece 100755 (executable)
@@ -44,7 +44,7 @@ use XML::LibXML;
 use XML::LibXSLT;
 
 my $cgi = CGI->new();
-binmode(STDOUT, "utf8"); #output as utf8
+binmode(STDOUT, ":encoding(UTF-8)"); #output as utf8
 
 =head1 VARIABLES