koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Output.pm


From: Antoine Farnault
Subject: [Koha-cvs] koha/C4 Output.pm
Date: Tue, 19 Jun 2007 15:14:08 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Antoine Farnault <toins>        07/06/19 15:14:08

Modified files:
        C4             : Output.pm 

Log message:
        writing charset explicitly.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Output.pm?cvsroot=koha&r1=1.63&r2=1.64

Patches:
Index: Output.pm
===================================================================
RCS file: /sources/koha/koha/C4/Output.pm,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- Output.pm   15 Jun 2007 13:44:44 -0000      1.63
+++ Output.pm   19 Jun 2007 15:14:08 -0000      1.64
@@ -21,7 +21,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Output.pm,v 1.63 2007/06/15 13:44:44 tipaul Exp $
+# $Id: Output.pm,v 1.64 2007/06/19 15:14:08 toins Exp $
 
 # NOTE: I'm pretty sure this module is deprecated in favor of
 # templates.
@@ -35,7 +35,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.63 $' =~ /\d+/g; shift(@v) . "." . join( 
"_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.64 $' =~ /\d+/g; shift(@v) . "." . join( 
"_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -326,7 +326,8 @@
 sub output_html_with_http_headers ($$$) {
     my($query, $cookie, $html) = @_;
     print $query->header(
-       -type   => 'text/html; charset=utf-8',
+        -type    => 'text/html'
+        -charset => 'UTF-8',
        -cookie => $cookie,
     ), $html;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]