From: Tom Hughes Date: Mon, 23 Mar 2009 11:21:05 +0000 (+0000) Subject: Serve HTML files with a UTF-8 charset declaration. X-Git-Tag: live~7616 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/55a10e2a7bd4fb80859caf4e99001e37dfe6e962 Serve HTML files with a UTF-8 charset declaration. --- diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 5cc3134b5..419f25e32 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -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",