Answer the question
In order to leave comments, you need to log in
How to fix encoding error?
Uploaded python code to VPS Ubuntu 18.04 LTS. After starting the error
Traceback (most recent call last):
File "main.py", line 12, in <module>
print("\u0411\u043e\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d")
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
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