M
M
mletov2019-05-22 12:58:42
Angular
mletov, 2019-05-22 12:58:42

Why can encoding go wrong in Angular templates in Visual Studio?

There is an app.component.html file in the project, it has Cyrillic.
If you close the project and open it again, then the encoding in it for some reason flies to 1251. More precisely, the encoding remains, but the contents of the file are re-encoded into krakozyabry. You have to convert to UTF-8.
The problem is with all the files that are in the Angular application folder.
With all other files containing Cyrillic and located one level higher, there are no such problems.
Already opened it through Notepad ++ and manually set the encoding - it does not help.
Tried deleting the file and re-creating it.
Can anyone come across?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question