string conversion latin2 to ascii

Martin Landa landa.martin at
Tue Nov 27 22:35:42 CET 2007

Hi all,

sorry for a newbie question. I have unicode string (or better say
latin2 encoding) containing non-ascii characters, e.g.

s = "Ukázka_možnosti_využití_programu_OpenJUMP_v_SOA"

I would like to convert this string to plain ascii (using some lookup
table for latin2)

to get

-> Ukazka_moznosti_vyuziti_programu_OpenJUMP_v_SOA

Thanks for any hits! Regards, Martin Landa

More information about the Python-list mailing list