[Zope-dev] Re: RFC: Locale-specific Text Collation
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, no comment :) Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: RFC: Locale-specific Text Collation
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 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )