From 6a3baa80dacf51f19f937e6260b8e26d5fd95dec Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 17 Feb 2006 15:28:55 +0000 Subject: [PATCH] forcing utf8 communications between perl & apache --- C4/Interface/CGI/Output.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Interface/CGI/Output.pm b/C4/Interface/CGI/Output.pm index fad75ce48b..8f8f3c6aef 100644 --- a/C4/Interface/CGI/Output.pm +++ b/C4/Interface/CGI/Output.pm @@ -106,6 +106,7 @@ corresponds to the HTML page $html. sub output_html_with_http_headers ($$$) { my($query, $cookie, $html) = @_; + binmode(STDOUT, ":utf8"); print $query->header( -type => guesstype($html), -cookie => $cookie, -- 2.39.2