how to find "".encodings

Christopher T King squirrel at WPI.EDU
Thu Jul 1 12:37:47 EDT 2004


On Thu, 1 Jul 2004 P at draigBrady.com wrote:

> How would one get a list of encodings
> that can be passed to "".encode()
> 
> I know base64,utf8,latin,ascii work
> and these are listed in the encodings
> and codecs modules, but where can one
> get a definitive list?

http://docs.python.org/lib/node127.html is the only list I know of; I 
don't think that there's a actually a function that can list all the 
currently registered codecs.




More information about the Python-list mailing list