Reputation: 404
my test-program:
print ("Hello1")
print ("Привет")
print ("Hello2")
result:
Hello1
Hello2
[Finished in 0.2s]
In Python IDLE - everything works great.
Is there a solution for this problem?
P.S. I don't want to print in my program "\u0420\u043e\u0441\u0441\u0438". I want to print "язык" and see printed "язык".
P.P.S. Or sometimes result is even worse - it doesn't want to print English characters after russian.
Hello1
[Finished in 0.2s]
Upvotes: 1
Views: 692
Reputation: 21
You should add the line "encoding": "cp1251"
to your build system.
After all it loks like
{
"cmd": ["YOURPATH/Python/Python35-32/python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp1251"
}
Upvotes: 2