12-23-2009, 11:51 AM
|
Tom
Joined on 02-17-2009
Posts 9
|
Alphabetical ordering with respectation of national language rules
|
 
 
|
|
|
I got into trouble with alphabetical ordering of texts in section „index”, which does not respect our national (Czech) rules for alphabetical ordering.
Sample of generating of index by application:
Absence
Chování
Cigareta
Hodnocení chování
Rezervace
Tisk
Řazení
Úprava
Correct ordering should be done following way:
Absence
Cigareta
Hodnocení chování
Chování
Rezervace
Řazení
Tisk
Úprava
Would be possible to change application algorithm to reflex national ordering rules for selected language (czech and also other)? Additionally I attach basic (short) description of rules for ordering by czech alphabet.
In the Czech language is alphabetical ordering done by characters from left to right side of word, characters are compared by standard czech national alphabet:
a, b, c, č, d, e, f, g, h, ch, i, j, k, l, m, n, o, p, q, r, ř, s, š, t, u, v, w, x, y, z, ž
Upper and lower case characters does not influence alphabetical ordering. Characters with diacritic, which are not mentioned in the line above (á, ď, é, ě, í, ň, ó, ť, ú, ů, ý), are ordered as similar simple characters without diacritic.
The same rule is used also for characters with diacritic from other national alphabets, including umlauts (à, â, ä, ç, è, ê, ĺ, ľ, ł, ô, ö, ŕ, ü, ż). These characters have only secondary ordering validity, this means that for difference from basic character of standard czech national alphabet is used only in case two identical words (in case that only standard national characters are not enough to differentiate two words).
|
|
|
|
|
Report
|
|
|
|