Re: Is there a string function to trim all non-ascii characters out of a string
- From: Michael Ströder <michael@xxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 13:40:46 +0100
silverburgh.meryl@xxxxxxxxx wrote:
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?
I'd recommend to rethink this approach.
In the worst case the result is an empty string... ;-)
Ciao, Michael.
.
- References:
- Is there a string function to trim all non-ascii characters out of a string
- From: silverburgh.meryl@xxxxxxxxx
- Is there a string function to trim all non-ascii characters out of a string
- Prev by Date: Re: Unexpected __metaclass__ method behavior
- Next by Date: Re: TK 8.5
- Previous by thread: Re: Is there a string function to trim all non-ascii characters out of a string
- Next by thread: TK 8.5
- Index(es):
Relevant Pages
|