TBinaryObjectReader.ReadString
Original Reporter info from Mantis: yus
-
Reporter name: Yuri Serebrennikov
Original Reporter info from Mantis: yus
- Reporter name: Yuri Serebrennikov
Description:
I use https://github.com/pascaldragon/Pas2JS_Widget
If you set the Cyrillic text in design mode, then it is displayed incorrectly.
If lfm file contains Cyrillic symbols, then this is a problem
i have debugged this problem and see in the classess.pas next code
function TBinaryObjectReader.ReadString(StringType: TValueType): String;
...
for I:=1 to Length(Result) do
begin
FStream.ReadbufferData(C); // <--- read symbol
Result[i]:=C; // <-- assigned incorrect symbol
end;
...
It seems to me that there are problems with reading the property value.
Additional information:
More details i write here
https://github.com/pascaldragon/Pas2JS_Widget/issues/22
Mantis conversion info:
- Mantis ID: 38898
- Build: Release 2.0
- Monitored by: » @PascalDragon (Sven Barth)