And here is  a solution to make 'rename' work with utf-8 characters:

14. function BOLTXrename in commands.php
change the first part before the foreach loop to

        global $BOLTindexPages, $pageLink, $msg, $pagesDir, $BOLTid, 
$systemPath;
        $p = explode("|", $value);
        $p[1] = BOLTutf2url($p[1]);
        if (BOLTfilter($p[1], 'csv') == '') BOLTabort("$rename_invalid_page");
        $p[0] = BOLTutf2url($p[0]);
        $pp = explode(",", $p[0]);
        $tempLink = $pageLink;

15. and make $BOLTfilter type csv compatible with % encoded strings by
adding % to the characters in $BOLTfilter['csv']:
engine.php ca line 98:
      $BOLTfilter['csv'] = '-_a-zA-Z0-9+.,*:|!#% ';

16. and modify my previous fix for function BOLTpageshortcuts to this
(reverted to use BOLTutf2url instead of urlencode to have added %25
strings reduced to %)

    global $BOLTconfig;
    if ($BOLTconfig['utfpages'] === 'false') $link = BOLTutf8_strip($link);
    $link = BOLTutf2url($link);

Cheers,
~Hans

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to