
Dear all, I'm working on a Python program to access a database of populated places in the world. This database originates from an Excel table containing Unicode place names. I'd like to present this huge list to the users properly sorted. There were plans to provide the Unicode collation algorithm back in 2002 at the EuroPython conference in Brussels, but seemingly these didn't materialize. Is anybody working on this? Regards, Sebastian -- Dipl.-Inform. Sebastian <dot> Wangnick <at eurocontrol dot int> Office: Eurocontrol Maastricht UAC, Horsterweg 11, NL-6199AC Maastricht-Airport, Tel: +31-433661-370, Fax: -300 ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender.

WANGNICK Sebastian wrote:
Dear all,
I'm working on a Python program to access a database of populated places in the world. This database originates from an Excel table containing Unicode place names.
I'd like to present this huge list to the users properly sorted. There were plans to provide the Unicode collation algorithm back in 2002 at the EuroPython conference in Brussels, but seemingly these didn't materialize.
Is anybody working on this?
There were a few attempts, but no contributions. Since you only seem to need one collation order, I'd suggest to normalize all Unicode strings and then write a compare function which implements your particular collation order. Patches for full collation support are welcome, of course :-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jan 19 2004)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::

WANGNICK Sebastian wrote:
Is anybody working on this?
See http://cvs.sourceforge.net/viewcvs.py/python-codecs/picu/ This package offers Python wrappers around ICU, in particular wrt. collation. Regards, Martin
participants (3)
-
"Martin v. Löwis"
-
M.-A. Lemburg
-
WANGNICK Sebastian