Pylint does not work in visual studio code

I have the same issue in Windows, and I get pylintrc file by:

pylint --generate-rcfile > ~/.pylintrc

While I use notepad++ to open it, the encoding is not utf8, and I change it to utf8, then it works.


By now I've solved the problem by just using a copy of my pylintrc file from mac. The problem - as far as I understand it - comes from the Windows Powershell. When I do

pylint --generate-rcfile > pylintrc

it creates a file with cp-1251 encoding.

The solution is to copy the data and paste it into an IDE/text editor to save it as utf-8 file. Or simply (like I did) copy it from another system or from the web.