encoding.py is no longer provided by Dispersy.

The file encoding.py is used by several communities, however it is not
used by Dispersy. When Dispersy needs functionality such as is
provided by encoding.py, it will use binary encoding or a more
standard encoding such as json instead.