The Movable Type Knowledge Base

Accented Characters Display Incorrectly

Question

Accented characters display incorrectly in my pages.

Answer

After Importing

If you are importing a weblog from an earlier version of Movable Type (before 3.0), your data is most likely encoded using the ISO-8859-1 character encoding, but Movable Type 3.x is set by default to use the UTF-8 encoding.

To change the character encoding used by Movable Type, open mt-config.cgi1 in a plain text editor and find the line that reads:

PublishCharset utf-8

Change utf-8 to the same encoding that was used in the PublishCharset option in your old installation's configuration file. Save the file and upload it back to your server in ASCII mode.

Other

If an accented character displays as something like é or Ã, Movable Type is publishing a UTF-8 database with ISO-8859-1 pages. The PublishCharset should be set to utf-8.

If an accented character displays as a diamond question mark, Movable Type is publishing a ISO-8859-1 database with UTF-8 pages. The PublishCharset should be set to iso-8859-1.

1 In versions prior to 3.2, the configuration file is named mt.cfg.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.