From: Matthijs Kooijman Date: Tue, 26 Jan 2010 10:24:08 +0000 (+0100) Subject: lighttpd: Change the default character encoding to utf-8. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=2dd30a95203a9b6b5d441f54797e01f262bf96c7;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Change the default character encoding to utf-8. --- diff --git a/etc/lighttpd/scripts/create-mime.assign.pl b/etc/lighttpd/scripts/create-mime.assign.pl index 1facb00..fbc4cf0 100755 --- a/etc/lighttpd/scripts/create-mime.assign.pl +++ b/etc/lighttpd/scripts/create-mime.assign.pl @@ -15,7 +15,7 @@ while() { my $mime = $1; my $exts = $2; # Append encoding for text formats if ($mime =~ /^text\//) { - $mime .= "; charset=iso-8859-1"; + $mime .= "; charset=utf-8"; } foreach(split / /, $exts) { # mime.types can have same extension for different