]> git.openstreetmap.org Git - rails.git/commitdiff
Serve HTML files with a UTF-8 charset declaration.
authorTom Hughes <tom@compton.nu>
Mon, 23 Mar 2009 11:21:05 +0000 (11:21 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 23 Mar 2009 11:21:05 +0000 (11:21 +0000)
config/lighttpd.conf

index 5cc3134b54b4e15b2aa48d6c28089d22a1438ce1..419f25e3266fb26cb78a5ddbca31de83c1a26fb7 100644 (file)
@@ -58,7 +58,7 @@ evasive.max-conns-per-ip = 20
 mimetype.assign = (
   ".css" => "text/css",
   ".gif" => "image/gif",
-  ".html" => "text/html",
+  ".html" => "text/html; charset=utf-8",
   ".js" => "application/x-javascript",
   ".png" => "image/png",
   ".swf" => "application/x-shockwave-flash",