A
A
Artur Zenkov2014-10-12 17:48:32
Python
Artur Zenkov, 2014-10-12 17:48:32

Sublime text 3 + Python 3.4 work with cyrillic?

when trying to compile the program:
print("кириллица")
an error appears:
[Decode error - output not utf-8] found an instruction on the Internet that it is necessary to set "fallback_encoding": "Cyrillic (Windows 1251)"
in the sublime text settings , but this still did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2014-10-13
@mututunus

Specify the encoding at the beginning of the file
# -*- coding: utf-8 -*-

A
Alexander Taratin, 2014-10-12
@Taraflex

Save the file in utf encoding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question