https://bugzilla.wikimedia.org/show_bug.cgi?id=46058

--- Comment #3 from Bawolff (Brian Wolff) <bawolff...@gmail.com> ---
Icu seems to support making custom collations at run time (based on docs).
However php's intl extension doesnt seem to expose this. So we are probably
left with hacking it over top (aka turn w to v before feeding it to icu). Or
somehow getting upstream to make a sv historical collation (they already have 2
sv collations - reformed and normal) however that would probably be a difficult
process I imagine. I suppose third option is getting php upstream to expose
custom collation maling methods

To clarify, when you say sort the same way do you mean totally identical, or
just primary identical? (The sort algorithm has 3 levels. We check the primary
level first ( ie different letters: A vs B) if there is a tie on that level for
all letters then we move on to check accents (roughly). If there is a tie again
we move on to checking case distinction. In your case it sounds like you would
want V and W to be the same on the primary level but different on the secondary
level - is that the case? (Which might be a moot point since the hack over top
solution would only allow making them identical.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to