Unicode: matching a word and unaccenting characters

2007-11-14 Thread Jeremie Le Hen
continue % result += m.group(1).lower() % return result % But I don't feel confortable with it. It strongly depend on the UCD file format and names that don't contain a single letter cannot obvisouly all be converted to ascii. How would you implement this

Unicode: matching a

2007-11-14 Thread Jeremie Le Hen
+= m.group(1).lower() % return result % But I don't feel confortable with it. It strongly depend on the UCD file format and names that don't contain a single letter cannot obvisouly all be converted to ascii. How would you implement this function? Thank you for your help. Regards, -- Jeremie Le Hen < jlehen at clesys dot fr > -- http://mail.python.org/mailman/listinfo/python-list