Edit: encoding.py