Re: string conversion latin2 to ascii

2007-11-28 Thread kyosohma
On Nov 27, 5:08 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Nov 28, 8:45 am, [EMAIL PROTECTED] wrote: > > > > > > > > > On Nov 27, 3:35 pm, Martin Landa <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > sorry for a newbie question. I have unicode string (or better say > > > latin2 encoding) co

Re: string conversion latin2 to ascii

2007-11-28 Thread Jakub Wilk
* Martin Landa <[EMAIL PROTECTED]>, 2007-11-27: > 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) > >

Re: string conversion latin2 to ascii

2007-11-27 Thread John Machin
On Nov 28, 8:45 am, [EMAIL PROTECTED] wrote: > On Nov 27, 3:35 pm, Martin Landa <[EMAIL PROTECTED]> wrote: > > > 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_Ope

Re: string conversion latin2 to ascii

2007-11-27 Thread Martin v. Löwis
> 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" That's not a Unicode string (at least in Python 2); it is a latin-2 encoded byte string; it has nothing to do with

Re: string conversion latin2 to ascii

2007-11-27 Thread kyosohma
On Nov 27, 3:35 pm, Martin Landa <[EMAIL PROTECTED]> wrote: > 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 p

string conversion latin2 to ascii

2007-11-27 Thread Martin Landa
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_moznos