PublishCharset

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
This page was last updated on 2009-10-26, 18:33.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.