Sebastian Bassi wrote:

> Hello,
> 
> How do I detect non-ascii letters in a string?
> I want to detect the condition that a string have a letter that is not
> here: string.ascii_letters

"äöü".decode("ascii")

should do the trick -- you get an UnicodeError when there is anything ascii
can't encode.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to