[pmwiki-users] another encoding issue

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 28 14:45:23 CDT 2005


On Wed, Sep 28, 2005 at 07:44:26PM +0200, nexyufuli evo wrote:
> hi list
> I changed to utf-8 and installed the xl translation in the hope that it 
> would be possible to use umlautes (äöü) in wikilinks. But that is not 
> working:
> http://pmwiki.netstreams.org
> 
> Into the config file I wrote this:
> 
> include_once('scripts/xlpage-utf-8.php');
> $HTMLHeaderFmt[] = "*\n*  <meta http-equiv='Content-Type' 
> content='text/html; charset=utf-8' />";
> $HTMLHeaderFmt[] = "*\n*  <meta http-equiv='Content-Language' content='ch, 
> de' />*\n*";
> XLPage('de','PmWikiDe.XLPage');

The XLPage call for 'de' is switching things back to using the
iso-8859-1 character set, which is what the german prompts have been
encoded in.

You shouldn't need to switch to utf-8, simply putting the line

    XLPage('de', 'PmWikiDe.XLPage');

(and none of the others) *should* be enough to get umlauts in 
page names and [[links]].  If it doesn't work, let me know.

Pm




More information about the pmwiki-users mailing list