Good point Hans. There is already a mechanism for custom sorting
functions.  Create a function called.

BOLTsortUmlaut($array) that takes your array and returns it sorted as
desired.  Then in the search function add sort=Umlaut to the
parameter.

Obviously you can replace Umlaut with whatever word you wish.

Cheers
Dan


On Tue, Oct 20, 2009 at 4:26 PM, Hans <[email protected]> wrote:
> For sorting page names with umlauts äöüÄÖÜ one would definitely need a
> custom sort function, which needs to reassign these characters into custom
> positions.
>
> Note that most languages will have special utf-8 non-ascii characters which
> will need special sort functions. There should be no preference treatment in
> the core for äöüÄÖÜ.

--~--~---------~--~----~------------~-------~--~----~
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