XLSReadWriteII 4 fails to handle Unicode in Delphi7?
Posted: Wed Oct 29, 2008 8:20 am
Hi there,
just a bug report.
Testing environment:
1. windows vista, locale : English (united states)
2. Delphi 7 professional
3. XLSReadWriteII 4
I wrote a simple program to read a content from an Excel file (excel 97--2003). The excel files contains traditional Chinese character. But all I got is simply the question mark: '?'.
Here is what I did:
opened the excel file, started loading the content of the file, in the debug mode I found that the value I obtained using function calls like AsString, AsWideString were all '?', the XLSReadWriteII 4 has not done the correct parsing..
One possible solution is to change the system locale to Chinese but the rigid development requirement is that the locale must be English so let's forget about this solution. Any suggestion will be greately appreciated!
Thanks in advance.
for your testing purpose, you can place this chinese sentence in an excel file and try to read it:
便利超商及麵包店,針對統一麵包所生產的土司
just a bug report.
Testing environment:
1. windows vista, locale : English (united states)
2. Delphi 7 professional
3. XLSReadWriteII 4
I wrote a simple program to read a content from an Excel file (excel 97--2003). The excel files contains traditional Chinese character. But all I got is simply the question mark: '?'.
Here is what I did:
opened the excel file, started loading the content of the file, in the debug mode I found that the value I obtained using function calls like AsString, AsWideString were all '?', the XLSReadWriteII 4 has not done the correct parsing..
One possible solution is to change the system locale to Chinese but the rigid development requirement is that the locale must be English so let's forget about this solution. Any suggestion will be greately appreciated!
Thanks in advance.
for your testing purpose, you can place this chinese sentence in an excel file and try to read it:
便利超商及麵包店,針對統一麵包所生產的土司