On Oct 4, 7:35 am, JBJ <Jean-Bernard.jacquet-at-tele-deux- [EMAIL PROTECTED]> wrote: > Hi, > I'am very newbie in Python. > For the moment I'am trying to convert an unicode character to his uppercase > unaccented character. > By example with locale fr_FR: > a,A,à,À should return A > o,O,ô,Ô should return O > ½,¼ should return ¼ > i,I,î,Î should return I > > Have you some suggestions ? > > Thank.
Unicode strings have an upper() method - try that. I'm think it should work properly with your locale - it doesn't give the expected result for me with an english locale. -- http://mail.python.org/mailman/listinfo/python-list