You've already forked lazarus-ccr
fpspreadsheet: Fix string encoding error observed with fpc3 and non-UTF8RTL.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1172,7 +1172,8 @@ var
|
||||
wideStr: widestring;
|
||||
begin
|
||||
wideStr := ReadWideString(AStream, HAS_8BITLEN);
|
||||
Result := UTF8Encode(wideStr);
|
||||
// Result := UTF8Encode(wideStr); // wp: this leads to string encoding error with fpc 3.0 (no UTF8RTL)
|
||||
Result := UTF16ToUTF8(wideStr);
|
||||
end;
|
||||
|
||||
procedure TsSpreadBIFF8Reader.ReadStringRecord(AStream: TStream);
|
||||
|
Reference in New Issue
Block a user