Is there a string function to trim all non-ascii characters out of a string
- From: "silverburgh.meryl@xxxxxxxxx" <silverburgh.meryl@xxxxxxxxx>
- Date: Mon, 31 Dec 2007 00:20:16 -0800 (PST)
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?
Thank you.
.
- Follow-Ups:
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: Michael Ströder
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: John Machin
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: Duncan Booth
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: John Machin
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: John Machin
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: abhishek
- Re: Is there a string function to trim all non-ascii characters out of a string
- From: Dan Bishop
- Re: Is there a string function to trim all non-ascii characters out of a string
- Prev by Date: Re: ElementTree should parse string and file in the same way
- Next by Date: Re: Cheat ***
- Previous by thread: desktop computer
- Next by thread: Re: Is there a string function to trim all non-ascii characters out of a string
- Index(es):