Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58112
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1383165702; bh=2w1tkDVIYTjVNFTBdBpCGV4kbEoj9+RsPJ46+FVFAYE=; h=To:From:Subject:Date:References:In-Reply-To:From; b=rEbPgNjYwp3iW9/4yFTUyIO32NJKmLvBv6gIPnKDdkqo0gvIq/kaX50+GVS3+mR2M SRO8jKsAMwSW/r385hEv8JuK5kbw8hixLwlYOibVHRwMYpSdhAzlDvKbHKZ9WIQIWR 8xcyuR7ZViPL2ZqsEDIn7sX3FKRT5Awb9qniBgz8= |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:characters': 0.09; 'from:name:christian heimes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sqlite': 0.16; 'from:addr:python.org': 0.16; 'header:User- Agent:1': 0.23; 'compare': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'interface': 0.32; 'url:python': 0.33; 'german': 0.35; 'prepare': 0.35; 'url:org': 0.36; 'should': 0.36; 'two': 0.37; 'christian': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:5': 0.61; 'skip:n 10': 0.64; 'more': 0.64; 'subjectcharset:iso-8859-1': 0.66; 'st.': 0.69 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Christian Heimes <christian@python.org> |
| Subject | Re: sorting german characters äöü... |
| Date | Wed, 30 Oct 2013 21:41:28 +0100 |
| References | <52715232.5020108@fam-goebel.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | f048069212.adsl.alicedsl.de |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
| In-Reply-To | <52715232.5020108@fam-goebel.de> |
| X-Enigmail-Version | 1.5.2 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1842.1383165703.18130.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1383165703 news.xs4all.nl 15962 [2001:888:2000:d::a6]:52790 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:58112 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: sorting german characters äöü... Christian Heimes <christian@python.org> - 2013-10-30 21:41 +0100
csiph-web