httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: on charset setting of error documents
Date Thu, 20 Jun 2002 03:39:32 GMT
Jeon Jeongho wrote:
> Hi!
> 
> I am about to translate error documents (type-map file)
> to Korean.  Then got a question how to treat charset.
> 
> 1) Can I set HTTP headers in type-map file?
> 

You should be able to set the character set on the Content-Type line, as in
Content-Type: text/plain; charset=ISO-8859-2

> 2) Is it ok that error/include/top.html has the meta tag
>    which value is assigned by (ex, "CHARSET") variable
>    in error documents?

Bad idea.  Meta tags are almost always inferior to proper http headers.

> 
> 3) Or depend on browser's charset auto-detect feature (or
>    AddDefaultCharset directive)?  Or no problem at all?

Also a bad idea.  The server should be sending the correct info in the 
http headers.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message