Hi,
thanks for the hint. Actually i now put the code from the page in an
own cookbook file, to keep the config.php clean(er).
As for the core inclusion: if it is an improvement/fix, it should not
matter, if it used by many people, because if that matters, it should
be taken off the core altogether, right? ;)
Best Regards,
Tom
Am 26.01.2007 um 14:17 schrieb Petko Yotov:
> On Friday 26 January 2007 13:08, Tom Lederer wrote:
>> thanks for the fix. Works as expected :)
>>
>> I already included the AsSpacedFunctionInUTF-8 and added your line
>> after that.
>
> If you have copied the AsSpacedUTF a while ago, please recheck it
> as today I
> spotted and fixed a bug that may cause the script to hang (very
> unlikely but
> not impossible).
>
>> 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.)
>
> Yes.
>
>>
>> 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?
>
> Pm will tell us. Actually not many PmWikis are using utf-8 so I
> believe it is
> unlikely.
>
> Petko
>
>
>> 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