Answer the question
In order to leave comments, you need to log in
Why does Bitrix display scribbles in the first characters of Cyrillic strings?
If everything is fine in the ftp code editor, then this is nonsense on the frontend:
I edit in the visual editor (which is inconvenient), everything becomes normal on the frontend, but now it gives out nonsense in the ftp editor.
A month ago, such a problem got out with another page. Then it seemed to be decided by bringing the page file and the header / footer to a single encoding (ansi). At least I remember that I decided that this was the reason. This time, the reduction to one encoding did not solve the problem. The cache updated both Bitrix and the browser.
Answer the question
In order to leave comments, you need to log in
It seems that this time it was decided for sure - the file opened in ansi_x3.110-1983, although it was encoded in windows-1251. When manually changing the opening encoding, the file opened normally.
Why editors mistakenly determine the file encoding - the question remains open, but this is no longer critical.
/* Problem solved. Created a new file via ftp and copied the code into it.*/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question