From 2dd30a95203a9b6b5d441f54797e01f262bf96c7 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 26 Jan 2010 11:24:08 +0100 Subject: [PATCH] lighttpd: Change the default character encoding to utf-8. --- etc/lighttpd/scripts/create-mime.assign.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2