Subject: | Incorrectly sends utf8 instead of utf-8 |
Catalyst::View::Mason sends the wrong default character set name. It has
to be "utf-8", not "utf8". It should be trivially fixed in line 150,
like this:
--- /usr/local/share/perl/5.8.7/Catalyst/View/Mason.pm 2006-04-04
16:16:19.000000000 +0200
+++ lib/Catalyst/View/Mason.pm 2006-11-23 22:29:04.000000000 +0100
@@ -150,7 +150,7 @@
}
unless ( $c->response->content_type ) {
- $c->response->content_type('text/html;charset=utf8');
+ $c->response->content_type('text/html;charset=utf-8');
}
$c->response->body( $self->{output} );
GreetinX
Steffen