I am using a hosting company and it will list the files in a directory if the file index.html
is not there. It uses ISO 8859-1 as the default encoding.
If the server is Apache, is there a way to set UTF-8 as the default instead?
I found out that it is actually using a DOCTYPE of HTML 3.2 and then there is not charset
at all... so it is not setting any encoding. But is there a way to change it to use UTF-8?
AddDefaultCharset
to utf-8 at all (On Debian, it's in/etc/apache2/conf-available/charset.conf
). – Lyns