A
A
Artem Vasiliev2016-01-29 09:51:22
Character encoding
Artem Vasiliev, 2016-01-29 09:51:22

How to resolve encoding error in Sublime Text 3 SFTP?

Hello.
In Sublime 3, the following error appears when downloading a folder via SFTP:

sublime sftp an encoding error was encountered trying to read from the server. please adjust the "remote_encoding" setting in sft-config.json

ee887b87dc6f4923aadb7d2d43cf3fe7.PNG
Careful googling has not yielded results. Advice was given only to indicate the encoding from cp1251 to cp 1258. I tried each of them - there is no result.
I want to note that everything has just loaded in Sublime 2.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolay S., 2016-08-26
@Nikolays93

Try
File > Sftp\ftp > Edit
Uncomment and fix
"remote_encoding": "cp1251",

A
Andrey Kirilchuk, 2016-08-26
@Kirilchuk

What if you specify everything at once?

"remote_encoding": "cp1251",
"remote_encoding": "cp1258",

P
pabro, 2020-12-11
@pabro

In my case, there was a file with a Cyrillic name. Renamed to Latin - everything is ok. Although it used to work with Cyrillic in the title

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question