Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58112 > unrolled thread

Re: sorting german characters äöü...

Started byChristian Heimes <christian@python.org>
First post2013-10-30 21:41 +0100
Last post2013-10-30 21:41 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: sorting german characters äöü... Christian Heimes <christian@python.org> - 2013-10-30 21:41 +0100

#58112 — Re: sorting german characters äöü...

FromChristian Heimes <christian@python.org>
Date2013-10-30 21:41 +0100
SubjectRe: sorting german characters äöü...
Message-ID<mailman.1842.1383165703.18130.python-list@python.org>
Am 30.10.2013 19:38, schrieb Ulrich Goebel:
> Hello,
> 
> for a SQLite database I would like to prepare a collating function in
> python. It has to compare two (unicode-)strings s, t and should return
> -1 if s<t, 0 if s=t and 1 if s>t.
> 
> The strings are german names/words, and what I would like is to have a
> case-insensitive ordering, which treates

Do you know PyICU? PyICU provides an interface to ICU which offers more
elaborate features like locale-specific collation, normalization and
more. https://pypi.python.org/pypi/PyICU/1.5

Christian

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web