TsiLang 7.5.6.2, Delphi 10.2.1 Tokio
There is a program module (pas + dfm).
pas-file in ANSI encoding (Win1251).
The pas-file contains a string constant in the Win1251 encoding,
see picture
![Image](http://picua.org/img/2017-10/13/3xwm032c2ij24srsruxr3n6k2.jpg)
I select this line in the editor, in the context menu I select the item "TsiLang Expert->Scan selected source ..."
and click "Modify Source" in the "Found String Constants" window.
After that, the text with spoiled encoding is inserted into the program code, see picture
![Image](http://picua.org/img/2017-10/13/qyom0fd08y8s7sod7doca8010.jpg)
You need to fix this error.