engelbert gruber | 4 Sep 2008 08:48
Picon
Gravatar

Re: Patch [ 1878977 ] make_id(): deaccent characters

>  See the 2008-02-03 comment from mgeisler. I would be in favor of the
>  patch if these changes are made. Note that this would require Python
>  2.3, but I think that is fine.

i uploaded a patch using unicodedata.normalize
this reduces the translate dictionary to 41 entries

unicodedata.normalize does not exist in python2.2
possibly unicodedata.decomposition does similar

but mapping from ``\u00df`` to ``sz`` is not supprted
in python2.2 string.translate either.

https://sourceforge.net/tracker/index.php?func=detail&aid=1878977&group_id=38414&atid=422032

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane