From 95cf9d3a86c4282f68b1cdd535aee1ae9ac6d303 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Sun, 24 Oct 2004 22:59:50 +0000 Subject: [PATCH] charset was not set correctly. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@260 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 3 +++ lib/Apache/MVC.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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} ); -- 2.39.5