Firefox sets wrong encoding to directory listings?

Christopher Aillon caillon at redhat.com
Mon Nov 26 12:39:55 UTC 2007


On 11/26/2007 10:56 AM, Martin Sourada wrote:
> HEAD 127.0.0.1
> 200 OK
> Connection: close
> Date: Mon, 26 Nov 2007 09:52:12 GMT
> Accept-Ranges: bytes
> Server: Apache/2.2.6 (Fedora)
> Content-Type: text/html; charset=UTF-8
> Client-Date: Mon, 26 Nov 2007 09:52:12 GMT
> Client-Peer: 127.0.0.1:80
> Client-Response-Num: 1
> 
> HEAD 127.0.0.1/ftp/pub
> 200 OK
> Connection: close
> Date: Mon, 26 Nov 2007 09:52:04 GMT
> Server: Apache/2.2.6 (Fedora)
> Content-Type: text/html;charset=ISO-8859-1

                           ^^^^^^^^^^^^^^^^^^
There's your problem.  Get Apache to stop sending that, and send UTF-8 
there instead and you'll be fine.  This is a server configuration issue, 
not a Firefox issue.

> Client-Date: Mon, 26 Nov 2007 09:52:04 GMT
> Client-Peer: 127.0.0.1:80
> Client-Response-Num: 1
> 
> In root there is index.xhtml which is normally displayed by default,
> in /ftp/pub there is no html file, only folders, so normally it is
> displayed as folder listing.
> 
> Thanks,
> Martin
> 




More information about the devel mailing list