Y
Y
Yuri2018-10-28 09:06:41
atom
Yuri, 2018-10-28 09:06:41

Python - encoding issue in runner plugin in Atom and VScode editors?

Good day to all. If who faced prompt. Windows 10 'Atom' editor and same VScode, using Runner plugin, function

def get_html(url):
    r = requests.get(url)
    return r.text

When launched through the atom-runner plugin, it does not recognize the Cyrillic alphabet (��� ���) when running the same file, the display is normal on the command line.
If anyone knows please tell me how to fix this. The reason is described here (script output during debugging from VS is redirected...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question