Unicode judgment failed
Posted: Wed May 21, 2008 6:13 am
Hi, I'm user of XLRReadWriteII4 of Japan.
I can't create Unicode cell that include only character under FF.
For example
xlrReadWrite.Sheet[0].AsString[0, 0] := #$00DC#$0042; // ÜB
This result in EXCEL is failed. The accent mark of U disappear.
One more example,
xlrReadWrite.Sheet[0].AsString[0, 0] := #$FF11#$00DC; // 1(kanji)Ü
This result in EXCEL is quite good. The accent mark of U is kept.
I think, "function TSST2.IsUnicode(S: WideString): boolean" is problem.
In this function, string whose first character is under FF is treated as non-unicode string. I don't know why IsUnicode is needed, but I strongly hope this issue will be solved.
I can't create Unicode cell that include only character under FF.
For example
xlrReadWrite.Sheet[0].AsString[0, 0] := #$00DC#$0042; // ÜB
This result in EXCEL is failed. The accent mark of U disappear.
One more example,
xlrReadWrite.Sheet[0].AsString[0, 0] := #$FF11#$00DC; // 1(kanji)Ü
This result in EXCEL is quite good. The accent mark of U is kept.
I think, "function TSST2.IsUnicode(S: WideString): boolean" is problem.
In this function, string whose first character is under FF is treated as non-unicode string. I don't know why IsUnicode is needed, but I strongly hope this issue will be solved.