httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] meta http-equiv useless??
Date Sat, 20 Aug 2005 20:44:10 GMT
greg wm wrote:
> 
> i've landed in a character set mire, i need help from someone who knows..
> 
> i used wget to copy the entire http://nonviolentpeaceforce.org site to
> http://nvpf.org/np.  the former is in m$ asp, the latter captured as html.
> 
> as you can see, the capture is mostly fine, including spanish characters
> in the text (eg año), however the spanish characters in the menus didn't
> do quite so well (eg Misi?n)
> 
> if i tell galeon, instead of automatic encoding, use western iso-8859-1,
> then, presto, the page appears nicely.   but i don't have to do that to
> see the original, nor do i have to do that for anybody else's pages, and 
> of course i can't expect our audience to go and fiddle with that in 
> their browsers.
> 
> second question:  why doesn't the meta http-equiv header do anything?

What happens if you remove the defaultcharset entirely; have Apache
provide no hinting at the encoding; does the browser respect the meta
tag?

The http headers are authoritative, and override any metadata.  If you
rather control your encoding with meta tags, turn off charsets entirely.

You know you can use telnet, or netcat (nc) to your host port 80 to

GET /yoururl HTTP/1.1
Host: yourhost

and see what http headers are returned.  e.g.

GET /index.html HTTP/1.1
Host: www.example.com

You need to have one blank line after the host header before the server
will return a response.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message