[Bug 1258546] Re: Apache2 defaults to the wrong character set, it should be UTF-8

Lars Noodén lars.nooden at gmail.com
Mon Dec 9 12:44:25 UTC 2013


I can do the Server system, too, but right now the steps I have followed
to get the problem are:

1. install Ubuntu 12.04 desktop, or Lubuntu 14.04devel desktop (it occurs on both)
2. install Apache2, leaving default configuration settings
3. load an html page from the server in a browser (in 12.04 or 14.04devel)
4. check page info regarding Encoding

Adding AddDefaultCharset utf-8 to the configuration file makes the problem go away.
But could this be a problem with the browser anyway?

$ wget -S http://xx.yy.zz.aa
--2013-12-09 14:38:34--  http://xx.yy.zz.aa/
Connecting to xx.yy.zz.aa:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date: Mon, 09 Dec 2013 12:38:34 GMT
  Server: Apache/2.2.22 (Ubuntu)
  Last-Modified: Sat, 07 Dec 2013 14:39:28 GMT
  ETag: "222742-b1-4ecf2bae66f2c"
  Accept-Ranges: bytes
  Content-Length: 177
  Vary: Accept-Encoding
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html
Length: 177 [text/html]

$ wget -S http://xx.yy.zz.bb
--2013-12-09 14:39:46--  http://xx.yy.zz.bb/
Connecting to xx.yy.zz.bb:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date: Mon, 09 Dec 2013 12:39:46 GMT
  Server: Apache/2.4.6 (Ubuntu)
  Last-Modified: Mon, 25 Nov 2013 16:12:19 GMT
  ETag: "b1-4ec02a0e06c9c"
  Accept-Ranges: bytes
  Content-Length: 177
  Vary: Accept-Encoding
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html
Length: 177 [text/html]

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1258546

Title:
  Apache2 defaults to the wrong character set, it should be UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1258546/+subscriptions



More information about the Ubuntu-server-bugs mailing list