S
S
Sergey Goryachev2016-08-20 14:32:41
Code editor
Sergey Goryachev, 2016-08-20 14:32:41

Which editor normally displays CP-1251 files?

I have a site with 150,000 files, everything was done a long time ago and in cp-1251 encoding.
Now I'm trying to open a directory in Atom, Sublime and PhpStorm.
And instead of the text I see only krakazyabry. And when saving, everything is translated into whitebird.
In fact, I can only work in notepad, but opening a file is not convenient.
And you also need to open the entire folder and you can search among the files for the desired text.
Now, with krakazyabras, the search in Russian does not plow.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2016-08-20
@webirus

Good afternoon.
In Sublime Text, 'Preferensces' -> 'Settings-User' add

{
   "fallback_encoding": "Cyrillic (Windows 1251)",
}

Regarding phpstorm, try this:
a2x.ru/?p=494

E
Eugene, 2016-08-20
@e-antonov

Try notepad++

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question