Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.16 AddCharset

AddCharset specifies a character set for a file extension.

Description

AddCharset specifies a character set for a file extension. The specified character set is set to the value of charset= in the Content-Type header. Use this directive if the character set needs to be explicitly indicated for the client. If you specify this directive more than once, you cannot specify different character strings for the same extension. The specified extension must be associated with a MIME type by the AddType directive or by the file specified in the TypesConfig directive.

Syntax

AddCharset character_set extension [extension ...]

Locations where it can be written

httpsd.conf, <VirtualHost>, <Directory>, and .htaccess

Overwrite permission

FileInfo level

Example

AddCharset EUC-JP .euc
AddCharset ISO-2022-JP .jis
AddCharset SHIFT_JIS .sjis