[Koha-cvs] koha/C4/Interface/CGI Output.pm
paul poulain
paul at koha-fr.org
Fri Feb 17 16:28:55 CET 2006
CVSROOT: /cvsroot/koha
Module name: koha
Branch:
Changes by: paul poulain <tipaul at savannah.gnu.org> 06/02/17 15:28:55
Modified files:
C4/Interface/CGI: Output.pm
Log message:
forcing utf8 communications between perl & apache
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Interface/CGI/Output.pm.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: koha/C4/Interface/CGI/Output.pm
diff -u koha/C4/Interface/CGI/Output.pm:1.2 koha/C4/Interface/CGI/Output.pm:1.3
--- koha/C4/Interface/CGI/Output.pm:1.2 Mon Aug 16 12:48:52 2004
+++ koha/C4/Interface/CGI/Output.pm Fri Feb 17 15:28:55 2006
@@ -1,6 +1,6 @@
package C4::Interface::CGI::Output;
-# $Id: Output.pm,v 1.2 2004/08/16 12:48:52 tipaul Exp $
+# $Id: Output.pm,v 1.3 2006/02/17 15:28:55 tipaul Exp $
#package to work around problems in HTTP headers
# Note: This is just a utility module; it should not be instantiated.
@@ -106,6 +106,7 @@
sub output_html_with_http_headers ($$$) {
my($query, $cookie, $html) = @_;
+ binmode(STDOUT, ":utf8");
print $query->header(
-type => guesstype($html),
-cookie => $cookie,
More information about the Koha-cvs
mailing list