]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
changed to set document encoding from config->{document_encoding}
[maypole.git] / lib / CGI / Maypole.pm
index e112913c0d5b5f55d214892868ad36b191ad4983..b937d8279a6774e58edf5f99ae0aa1c2fd1ed804 100644 (file)
@@ -40,6 +40,7 @@ sub send_output {
     my $r = shift;
     print $r->{cgi}->header(
         -type           => $r->{content_type},
+        -charset       => $r->{document_encoding},
         -content_length => length $r->{output},
     );
     print $r->{output};