Login | Register

Enabling UTF-8 Unicode language encoding in your page header.

UTF-8 allows for support of various languages, including Asian languages and their character depth. It is a widely supported and flexible character encoding, used for many European languages and can also represent Chinese, Japanese and Korean.

It's fairly simple to enable UTF-8 on your wiki pages. Currently PmWiki 2.0 versions have the UTF-8 file needed already loaded.

Here are the steps to enable UTF-8

  • Open your config.php file
  • Add this line:
    include_once($FarmD.'/scripts/xlpage-utf-8.php');
  • save and upload your config.php file back to the server.

If you validate your site you should see that UTF-8 is default encoding.

See also Cookbook:UTF-8 for tips.

This page may have a more recent version on pmwiki.org: PmWiki:UTF-8, and a talk page: PmWiki:UTF-8-Talk.


Page last modified on January 15, 2008, at 02:22 PM