Update bleach/encoding.py

python3 compatibility