I use requests to get json data from API source
req = requests.get('url')
context = json.loads(req.text)
print(context)
return the error
UnicodeEncodeError at /view/
'ascii' codec can't encode characters in position 26018-26019: ordinal not in range(128)
Unicode error hint
The string that could not be encoded/decoded was: OLYURÉTHANE
I checked req.text and didn't find there non-ascii characters. It appeards after json.loads(..)