Apache2 defaults to the wrong character set, it should be UTF-8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Apache2 by mistake defaults to windows-1252 instead of UTF-8. The system is now in UTF-8 or at worst ISO-8859. Apache2 should default to a standard character set, such as UTF-8 which is used in the rest of the system.
$ set | grep -i utf
LANG=en_US.UTF-8
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apache2 2.4.6-2ubuntu4
ProcVersionSign
Uname: Linux 3.12.0-5-generic x86_64
Apache2ConfdDir
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Dec 6 16:59:29 2013
InstallationDate: Installed on 2013-11-19 (17 days ago)
InstallationMedia: Lubuntu 14.04 "Trusty Tahr" - Alpha amd64+mac (20131118)
SourcePackage: apache2
UpgradeStatus: No upgrade log present (probably fresh install)
error.log: Error: [Errno 13] Permission denied: '/var/log/
modified.
modified.
mtime.conffile.
mtime.conffile.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I have checked both Precise and Trusty, and can find no "windows-1252" default that you refer to. I used "wget -S" to see the headers returned by the Apache server, and it did not specify a character set.
Could you please provide exact steps to reproduce this bug on a freshly installed Ubuntu Server system, and detail what you are expecting and what happens on your system instead? Please use "wget -S" or similar to demonstrate that the problem is actually with Apache, and not with a client, or the web page source or similar.
Without a test case, there isn't enough information here for a developer to confirm this issue is a bug, or to begin working on it, so I am marking this bug Incomplete for now.
If you can provide exact steps so that a developer can reproduce the original problem, then please add them to this bug and change the status back to New.