[pmwiki-users] Converting international documentation to UTF-8

Petko Yotov 5ko at 5ko.fr
Mon Sep 26 17:28:18 CDT 2011

On Monday 26 September 2011 17:55:34, Oliver Betz wrote :
> Petko Yotov wrote 2011-08-02:
> >Ok, the translations in UTF-8 are ready to be downloaded and tested:
> >  http://www.pmwiki.org/pub/pmwiki/i18n/
> shouldn't the PmWikixx.XLPage files of the ISO-versions come without
> the "'xlpage-i18n' => 'utf-8'" entry?

The i18n archives created since last Friday Night should have this entry 
fixed: 'iso-8859-2', 'iso-8859-9', or, for iso-8859-1: empty ''.

> BTW there should be some documentation about this entry.
> I'm not really sure about the meaning.

The only thing this does is to include_once() the script xlpage-XXXXX.php 
where XXXX is the value of the entry (utf-8, iso-8859-9...). 

But a wiki could include the xlpage-utf-8.php file from config.php which is 
probably better in case the page PmWiki??.XLPage gets modified or deleted.

There is also a variable $EnableXLPageScriptLoad, which, if set to 0, will 
ignore this entry (the encoding script should be loaded from config.php). 
Especially for languages using an alphabet other than the Latin/Roman one, 
this can prevent "Mojibake", unintelligible sequence of characters due to 
incorrect encoding/charset.


More information about the pmwiki-users mailing list