Answer the question
In order to leave comments, you need to log in
Atom runner how to fix encoding error?
The following function in Windows 10 gives an error (Cyrillic is used on the site where the request is sent)
def get_html(url):
r = requests.get(url)
return r.text
UnicodeEncodeError: 'charmap' codec can't encode character '\u20bd' in position 13283: character maps to
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question