Forked version of chardet, being ported to support python 2 and python 3 for kennethreitz/requests