--On Sonntag, 24. April 2005 18:01 Uhr +0200 Max M <[EMAIL PROTECTED]> wrote:
Daniel Dekany wrote:Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
Zope itself gives a method for sorting strings: DocumentTemplate.sequence.sort. Many of the products relies on that for sorting. And that sorts UTF-8 incorrectly
Then it will probably be easiest to just patch it up to sort correctly. Or file a bug in the collector.
A candidate for a reject. I pointed out that the sort method can not smell your encoding. If you deal with encodings and deal with it in the right way but don't expect that the underlying framework can smell or guess what kind of encoding your application uses. Otherwise: use Python unicode strings *only* and *overall*.
Description: PGP signature
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )