true_encoding is the method of solving the problem of 'ISO-8859-1'.
Project description
>>>import requests
>>>from true_encoding.encode_bug import encode_bug
>>>res = requests.get(’https://python.org’)
>>>res.encoding = encode_bug(res)
>>>content = res.text
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
true_encoding-1.0.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
true_encoding-1.0.0-py3.6.egg
(2.8 kB
view hashes)