Convert on uppercase unaccentent unicode character

JBJ Jean-Bernard.jacquet-at-tele-deux-point-fr at invalid.org
Thu Oct 4 10:30:16 CEST 2007


John Machin wrote:

> On Oct 4, 4:35 am, JBJ <Jean-Bernard.jacquet-at-tele-deux-
> point... at invalid.org> 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.
> 
> Google in this newsgroup for a thread started by "bussiere" on or
> about 2006-03-25. The code snippet provided by Fredrik Lundh should
> help you.
Thanks



More information about the Python-list mailing list