I took the source and redid it for news, but after that, instead of Russian letters, hieroglyphs began to appear, I was advised to change the encoding from ansi to utf8, but I don’t know how. Here is the project: Project.
1 answer
In general, there is a standard AnsiToUTF8 function and its inverse is utf8ToAnsi
in your project you need to replace only 1 line
It was
... ProgressBar1.Position:=ProgressBar1.Position+1; Label1.Caption:=q; ProgressBar1.Position:=ProgressBar1.Position+1; ...
will become
ProgressBar1.Position:=ProgressBar1.Position+1; Label1.Caption:=AnsiToUTF8(q); ProgressBar1.Position:=ProgressBar1.Position+1;
|