W3C home > Mailing lists > Public > www-international@w3.org > January to March 2000

New Apache Directive: AddCharset

From: Martin J. Duerst <duerst@w3.org>
Date: Mon, 24 Jan 2000 18:13:17 +0900
Message-Id: <200001240911.SAA03723@sh.w3.mag.keio.ac.jp>
To: www-international@w3.org
Dear Internationalizers,

As of Apache 1.3.10 and later, a new directive (configuration
instruction) is available. AddCharset allows to configure
the 'charset' parameter in the Content-Type HTTP header
independent from the actual mime type, based on extensions.

This is very helpful in various setup scenarios, e.g. if
the 'charset' (character encoding) of a page differs depending
on language, or if there are several encoding frequently used
for a language that need to be distinguished. It also avoids
having to use extensions such as .htmljis, which may not work
very well with various tools.

Further information about the AddCharset directive can be found at
http://www.apache.org/docs/mod/mod_mime.html#addcharset.
Please note that this explanation wrongly says that the 'charset'
parameter is ignored by browsers; this should be corrected soon.

This new directive is due to Youichirou Koga, a former visiting
engineer at W3C/Keio.


Jigsaw, in its 2.0.4 release (http://www.w3.org/Jigsaw/RelNotes.html),
comes with similar functionality to allow to set the 'charset'
parameter independent of the Mime type.


If somebody knows how to set 'charset' information independently
of Mime type on other servers, please tell us.


Regards,   Martin.


#-#-#  Martin J. Du"rst, World Wide Web Consortium
#-#-#  mailto:duerst@w3.org   http://www.w3.org
Received on Monday, 24 January 2000 04:13:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:55 GMT