PublishCharset
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
By default, the character encoding sent in the HTTP headers when you are using the system corresponds to the language you have chosen as your “Preferred Language” in your user profile. If you would like to override that you can set PublishCharset to the character encoding to be used. Be aware, though, that this will override the setting for every user and every weblog in this MT installation.
Values
The default value is the encoding corresponding to Preferred Language setting for the blog, utf-8
is the most universal option. Some values are: Shift_JIS
, utf-8
, ISO-8859-1
, euc-jp
, iso-2022-jp
Example
To set the character encoding to UTF-8
:
PublishCharset UTF-8
To set the character encoding to Shift_JIS
:
PublishCharset Shift_JIS