[REBOL] Re: Hungarian Alphabet Sort (was Re: Collation sequence - proper and eff
From: geza67:freestart:hu at: 12-May-2002 23:34
Hello Scott,
Thanx, cute solution! Though my critical comments :-) :
The right order for Hungarian vowels: actually the diaresis characters
come first and then the double acute ones (only o and u have double
accents in the Hungarian alphabet):
oOóÓöÖõÕ
uUúÚüÜûÛ
Unfortunately the case-insensitiveness does not work. Look:
hungarian-sort ["alom" "Álom" "álom" "Állam"]
== ["alom" "álom" "Állam" "Álom"]
Though it should read:
alom Állam Álom álom.
- The /case refinement results in the same result as the one without
it :-( :
>> hungarian-sort/case ["alom" "álom" "Álom" "Állam"]
== ["alom" "álom" "Állam" "Álom"]
The case-sensitive collation sequence IMHO would be a bit different than
you have defined, namely:
aAáÁ...eEéÉ...
Your order was:
aáAÁ...eéEÉ...
- and so on for all affected special accented chars.
--
Best regards,
Geza mailto:[geza67--freestart--hu]