From: Marcus Ramberg Date: Sun, 24 Oct 2004 22:59:50 +0000 (+0000) Subject: charset was not set correctly. X-Git-Tag: 2.10~102 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=95cf9d3a86c4282f68b1cdd535aee1ae9ac6d303;p=maypole.git charset was not set correctly. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@260 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/Changes b/Changes index 7139045..836e9eb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Maypole +2.02 xxx xxx xx xx:xx:xx xxxx + - Fixed charset in http header. + 2.01 Fri Oct 24 14:50:00 2004 - documentation fix to make t/03podcoverage happy diff --git a/lib/Apache/MVC.pm b/lib/Apache/MVC.pm index 902c485..3011225 100644 --- a/lib/Apache/MVC.pm +++ b/lib/Apache/MVC.pm @@ -43,7 +43,7 @@ sub parse_args { sub send_output { my $r = shift; $r->{ar}->content_type( - $r->{content_type} . "; encoding=" . $r->{document_encoding} ); + $r->{content_type} . "; charset=" . $r->{document_encoding} ); $r->{ar}->headers_out->set( "Content-Length" => length $r->{output} ); APACHE2 || $r->{ar}->send_http_header; $r->{ar}->print( $r->{output} );