[Rt-commit] r3705 - HTTP-Server-Simple-Mason/lib/HTTP/Server/Simple
glasser at bestpractical.com
glasser at bestpractical.com
Mon Aug 22 14:49:45 EDT 2005
Author: glasser
Date: Mon Aug 22 14:49:45 2005
New Revision: 3705
Modified:
HTTP-Server-Simple-Mason/lib/HTTP/Server/Simple/Mason.pm
Log:
Specify charset, by default
Modified: HTTP-Server-Simple-Mason/lib/HTTP/Server/Simple/Mason.pm
==============================================================================
--- HTTP-Server-Simple-Mason/lib/HTTP/Server/Simple/Mason.pm (original)
+++ HTTP-Server-Simple-Mason/lib/HTTP/Server/Simple/Mason.pm Mon Aug 22 14:49:45 2005
@@ -137,7 +137,7 @@
$r->send_http_header();
}
{
- $r->content_type || $r->content_type('text/html'); # Set up a default
+ $r->content_type || $r->content_type('text/html; charset=utf-8'); # Set up a default
if ($r->content_type =~ /charset=([\w-]+)$/ ) {
my $enc = $1;
More information about the Rt-commit
mailing list