[ALUG] Why does Firefox always use UTF-8 for this page?
cl at isbd.net
Tue Oct 9 18:40:47 BST 2007
On Tue, Oct 09, 2007 at 05:39:30PM +0100, MJ Ray wrote:
> Chris G <cl at isbd.net> wrote:
> > On Tue, Oct 09, 2007 at 03:05:20PM +0100, MJ Ray wrote:
> > > Check the HTTP header (curl -I or wget --head) of the URL. The HTTP
> > > header and XML opening both trump the http-equiv meta, as described in
> > > http://www.w3.org/International/O-charset#declaring
> > > with links to how to correct things.
> > >
> > OK, thanks, that *explains* it then:-
> > However, how do I get a file which has some ISO-8859-1 encodings in it
> > to be transmitted correctly by the web server?
> Follow the links from that URL to how to correct things. In this
> case, you want "Setting the HTTP charset parameter" which includes:
> "Apache. This can be done via the AddCharset (Apache 1.3.10 and
> later) or AddType directives, for directories or individual
> resources (files). With AddDefaultCharset (Apache 1.3.12 and later),
> it is possible to set the default 'charset' for a whole server. For
> more information, see the article on Setting 'charset' information
> in .htaccess."
Excellent, thank you very much!
More information about the main