apache2 AddDefaultCharset problem [SOLVED]

Alexandra Zaharia f0rg3r at gmail.com
Wed Feb 27 16:29:43 UTC 2008

Heh pretty late... but I finally found a workaround. This post is for
people who might encounter the same problem.

It's not exaclty an explanation for the fact that the

AddDefaultCharset UTF-8

directive is ineffective, but it's a way to avoid this.

In /usr/local/apache2/conf/httpd.conf or /etc/apache2/apache2.conf,
depending on your setup - where you have apache2 installed - you need
a line like:

IndexOptions Charset=UTF-8

(or whatever charset you need instead of 'UTF-8'.)

Then restart apache and it should all get back to the normal behaviour.



More information about the ubuntu-users mailing list