Sublime Forum

Strange symbols in the result of building process

#1

Hello. I’m using Python 3.6 (32-bit) in Sublime Text 3. My OS is Windows 7. I really need your help because this thing makes it impossible to check my programs. Here is what I get from building result every time I press “Built”:
“python” �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u “C:\Мои программы\Python\Example of drawing.py”]
[dir: C:\Мои программы\Python]
[path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone]
I also don’t understand why there is such path because I don’t use Java at all.
Here is my program:
import turtle
turtle.shape(“turtle”)
turle.forward(25)
turle.left(90)
turle.forward(25)
turle.left(90)
turle.forward(25)
turle.left(90)
turle.forward(25)
turtle.exitonclick()
Please, help!

0 Likes

#2

Looks like an encoding issue.

You could try to set the PYTHONENCODING environment variable to utf-8 either globally or in your built system.

See “env” or “encoding” at https://www.sublimetext.com/docs/3/build_systems.html#exec_options

0 Likes