Home » About this Blog

WordPress: Non-ASCII characters render incorrectly on UTF-8 encoded blogs

Submitted by Stephan Walcher on June 21, 2007 – 7:47 pmOne Comment

Description: On WordPress 2.1+ and PHP versions older than 5.0.2, publishing posts using Writer results in non-ASCII characters showing up as either squares or question marks.

Reason and Solution: Writer erroneously prepends the UTF-8 Byte Order Mark to XML-RPC requests that are UTF-8 encoded. This prevents WordPress from correctly detecting the UTF-8 encoding declaration, so ISO-8859-1 is assumed instead.

Run regedit.exe and find the following key: HKEY_CURRENT_USER\Software\Windows Live Writer\Weblogs\<your-blog-id>

Verify that the subkey ManifestOptions contains a characterSet=”UTF-8″ value. If so, under the subkey UserOptionOverrides, add a new String Value named characterSet and leave its value empty.

  • WordPress 2.6 doesn’t support Live Writer out of the box
    The WordPress developer team tries to secure WordPress. Hence, they deactivated the XML-RPC and the Atom API. Without these APIs it is not possible to post to your blog using a desktop blogging software like WIndows ......

  • WordPress 2.3.1 supports Live Writer Tagging-System
    The topical version 2.3.1 of WordPress support the tagging-system of Live Writer. We’ll show in the following how the tagging-system works with WordPress After you have written an article open the footer-menu (“Categories” etc) You can type in your tags below ......

One Comment »