//lib/python3.6/site-packages/pip/utils/encoding.py