apache2 AddDefaultCharset problem

Alexandra Zaharia f0rg3r at gmail.com
Tue Feb 12 11:48:12 UTC 2008


A problem with the apache2 configuration I noticed a few days back.

I have in /etc/apache2/conf.d/charset the following line:
AddDefaultCharset UTF-8

Also, in /etc/apache2/apache2.conf I had an include directive:
grep Include /etc/apache2/apache2.conf | grep conf.d
Include /etc/apache2/conf.d/

The problem is that since a few days ago all the UTF-8 content on my server
is displayed as gibberish and in order to see it correctly I'd need to
manually select the UTF-8 encoding from the browser's encoding schemes.

Now my problem (and question) is: what to do in order to get apache2 to know
of UTF-8 as default charset encoding... just as before?

I'm running Gutsy and apache 2.2.4 and the problem first occured, I think, a
few days ago, after the update which included the apache2 package.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080212/029aebd5/attachment.html>

More information about the ubuntu-users mailing list