Fredrik Lundh wrote: > hg wrote: > >> How would you handle the string.maketrans then ? > > maketrans works on bytes, not characters. what makes you think that you > can use maketrans if you haven't gotten the slightest idea what's in the > string? > > if you want to get rid of accents in a Unicode string, you can do the > approaches described here > > http://www.peterbe.com/plog/unicode-to-ascii > > or here > > http://effbot.org/zone/unicode-convert.htm > > which both works on any Unicode string. > > </F> > Thanks -- http://mail.python.org/mailman/listinfo/python-list
- utf - string translation hg
- Re: utf - string translation Fredrik Lundh
- Re: utf - string translation hg
- Re: utf - string translation hg
- Re: utf - string translation Duncan Booth
- Re: utf - string translation hg
- Re: utf - string translation Fredrik Lundh
- Re: utf - string translation hg
- Re: utf - string translation John Machin
- Re: utf - string translation Dan
- Re: utf - string translation John Machin
- Re: utf - string translatio... David H Wild
- Re: utf - string translatio... John Machin
- Re: utf - string translatio... Klaas
- Re: utf - string translatio... Fredrik Lundh
- Re: utf - string translatio... Eric Brunel
- Re: utf - string translatio... Dan
- Re: utf - string translatio... Frederic Rentsch