Le 29 nov. 03, à 16:30, Jarkko.Hietaniemi a écrit :
I want to correctly sort words in a variety of languages, currently
French, English, Spanish, Portuguese, German and Arabic. I am using
Perl 5.8.1 and unicode. I think I need Unicode::Collate to have
*correct* sorting. Is this correct?
In addition to the problems listed by Sadahiro (most importantly that
is not "correct" for any particular language, it is just a baseline
that is used for Unicode character data) I think it is worth pointing
trying to sort multilingual data is practically doomed to fail sooner
because many language-specific rules simply are contradictory.
Thank you both for your replies. What about sorting words in one
language, is Perl's sort() good enough? I'm wondering, since language
one of sort()'s arguments.