Skip to content

config publishcharset

Byrne edited this page Nov 1, 2010 · 1 revision

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
  • Categories: Appendix: Configuration Directives
  • Tags: config, encoding, l10n, language, localization, shift_jis, utf8
Clone this wiki locally