]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Apache/MVC.pm
changed to set document encoding from config->{document_encoding}
[maypole.git] / lib / Apache / MVC.pm
index f7eb317280b187ad15c6c24f4964742defc3ad34..3294df0490a32d579d0bc224f09be96efdc20056 100644 (file)
@@ -42,7 +42,7 @@ sub parse_args {
 
 sub send_output {
     my $r = shift;
-    $r->{ar}->content_type( $r->{content_type} );
+    $r->{ar}->content_type( $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} );