[Zope-dev] Re: RFC: Locale-specific Text Collation
    Philipp von Weitershausen 
    philipp at weitershausen.de
       
    Mon Dec 12 07:44:54 EST 2005
    
    
  
Jim Fulton wrote:
> When presenting users with ordered text (e.g. sorted lists of options),
> simply sorting Unicode strings doesn't provide an ordering that
> users in a given locale will find useful.  Various languages have
> text sorting conventions that don't agree with the ordering of
> Unicode code points. (This is even true for English.  Generally,
> users prefer to see text sorted without regard to case.)
> 
> A proposal to address this problem is here:
> 
>   http://dev.zope.org/Zope3/LocaleSpecificTextCollation
> 
> Comments are welcome.
+1
I especially like the easy handling of this adapter, given Python 2.4's
improved sorting API (that one went totally unnoticed by me up until
now!). See http://wiki.python.org/moin/HowTo/Sorting for a nice howto.
Philipp
    
    
More information about the Zope-Dev
mailing list