Bug#745605: apache2: ignores AddDefaultCharset
It seems Apache 2.4.9-2 misuses the AddDefaultCharset statement.
By default it should be Off but the current 2.4.9-2 simply overrides the value of the parameters and sets it to UTF-8.
Forcing the value to Off or to something else (i.e. ISO-8859-1 in my case) will have no impact.
The server will always set "Content-Type: text/html; charset=UTF-8".
Here is an example of reply for one of my ISO-8859-1 (set in the html header) site when the parameter is set to Off:
Server: Apache/2.4.9 (Debian)
Keep-Alive: timeout=5, max=100
Date: Mon, 16 Jun 2014 20:56:35 GMT
Content-Type: text/html; charset=UTF-8
This is really annoying because browsers will prefer the server value to the value set in the HTML header HTTP-EQUIV.
So some of my sites are broken unless I rollback the apache version which is not ideal.