If I want to know which letters are part of the ascii charset, I can simply ask python, which is nice:
>>> import string
>>> string.ascii_letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
I searched for a while, but couldn't find a generic function that returns charsets of arbitrary encodings. Something like this:
>>> import string
>>> string.get_charset('latin1') # doesn't exist =(
'abc ... äöü ...'
Or did I just miss it? A function that checks whether a string only contains characters of some encoding would work too, but I'd like the intuitiveness of just having all valid characters as a list.