Hi Petko,

thanks for the fix. Works as expected :)

I already included the AsSpacedFunctionInUTF-8 and added your line  
after that.
However i did not know until now, that if suffices to use the XLPage,  
(so that the inclusion uf the xlpage-utf-8.php is not necessary  
anymore.)

Some further ideas: i assume that the line

        'xlpage-i18n' => 'utf-8'

in my XLPage calls xlpage-utf-8.php, right? (So i don't have to do it.)

If so, i would ask and vote for inclusion of your fix (see below) as  
well as the AsSpacedFunctionInUTF-8 into the "core" (xlpage- 
utf-8.php). Is this possible?
Best Regards,
Tom


Am 26.01.2007 um 08:22 schrieb Petko Yotov:

>> yet another utf-8 issue :(
>>
>> my PageNotFound has the following variables which act differently:
>>
>> Page "{$RequestedPage}" does not exist.
>> [[{*$FullName}?action=edit|Create {*$Name} in {*$Group}]]
>>
>> while {*$Name} and {*$Group} do show the letter correct (this case
>> umlauts) the {$RequestedPage} does not.
>>
>> Any ideas? (removing or adding the * from the vars does not change
>> anything)
>>
>
> You have to re-define the $RequestedPage page variable _after_ the  
> XLPage() or
> include_once xlpage-utf-8.php calls:
>
> XLPage('fr','Site.XLPage-fr');
> // include_once($FarmD.'/scripts/xlpage-utf-8.php');// or this one
> $FmtPV['$RequestedPage'] = "'".htmlspecialchars($pagename,  
> ENT_QUOTES)."'";
>
> See also these tips about UTF-8 I added on the wiki:
>
> http://pmwiki.org/wiki/PmWiki/Internationalizations#notes
> http://www.pmwiki.org/wiki/Cookbook/AsSpacedFunctionInUTF-8
>
> Petko
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to