perl-unicode

Re: Unicode::Collate question

2003-12-08 04:30:05
Le 6 déc. 03, à 09:20, SADAHIRO Tomoyuki a écrit :

The syntax of collation customization (tailoring) in ICU
( http://oss.software.ibm.com/icu/userguide/Collate_Customization.html )
is character-based and may be more intuitive:

   for French:
       "[backwards 2]&A << \u00e6/e <<< \u00c6/E"

   for Spanish:
       "&N < n\u0303 <<< N\u0303"
       "&C < ch <<< Ch <<< CH"
       "&l < ll <<< Ll <<< LL"

However Unicode::Collate also allows linguistic tailoring.
Certainly its interface requires hard code of weights and
may be less user-friendly.

#!perl
use strict;
use warnings;
use Unicode::Collate;
[snip]

That rocks. It is the answer to my original post which started this thread!
Thank you much.

--
Eric Cholet

<Prev in Thread] Current Thread [Next in Thread>