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

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to