You've already forked lazarus-ccr
fpspreadsheet: Fix utf8 issues in rpn formulas (biff8)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3263 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -927,7 +927,7 @@ begin
|
||||
INT_EXCEL_TOKEN_TSTR: { fekString }
|
||||
begin
|
||||
// string constant is stored as widestring in BIFF8
|
||||
wideStr := AFormula[i].StringValue;
|
||||
wideStr := UTF8Decode(AFormula[i].StringValue);
|
||||
len := Length(wideStr);
|
||||
AStream.WriteByte(len); // char count in 1 byte
|
||||
AStream.WriteByte(1); // Widestring flags, 1=regular unicode LE string
|
||||
|
Reference in New Issue
Block a user