]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
Applied length patch for utf8.
[maypole.git] / lib / CGI / Maypole.pm
index 345b68ee9c0e577f4ffff06780b07b40dafe0f7e..ddcf22240019251a6f11d035312aeba3adc262c4 100644 (file)
@@ -43,7 +43,7 @@ sub send_output {
     print $r->{cgi}->header(
         -type           => $r->{content_type},
         -charset        => $r->{document_encoding},
-        -content_length => length $r->{output},
+        -content_length => do { use bytes; length $r->{output} }, 
     );
     print $r->{output};
 }