Skip Menu |

This queue is for tickets about the Catalyst-View-Mason CPAN distribution.

Report information
The Basics
Id: 23578
Status: resolved
Priority: 0/
Queue: Catalyst-View-Mason

People
Owner: rafl [...] debian.org
Requestors: schwigon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: 0.11



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