Is there a string function to trim all non-ascii characters out of a string
John Machin
sjmachin at lexicon.net
Mon Dec 31 04:09:09 EST 2007
More information about the Python-list mailing list
Mon Dec 31 04:09:09 EST 2007
- Previous message (by thread): M'I.5,Persecution No Justi ce fo r the Vi ctims of MI5
- Next message (by thread): Is there a string function to trim all non-ascii characters out of a string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Dec 31, 7:20 pm, "silverburgh.me... at gmail.com" <silverburgh.me... at gmail.com> wrote: > Hi, > > Is there a string function to trim all non-ascii characters out of a > string? > Let say I have a string in python (which is utf8 encoded), is there a > python function which I can convert that to a string which composed of > only ascii characters? > OK, I'll bite: why do you want to throw data away?
- Previous message (by thread): M'I.5,Persecution No Justi ce fo r the Vi ctims of MI5
- Next message (by thread): Is there a string function to trim all non-ascii characters out of a string
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list