Page 1 of 1

UNICODE problem ...

Posted: Thu Mar 20, 2008 3:35 pm
by j.didi
Hello,

I have a problem using txlsreadwriteII2.

i have an excel file with poland strings.

with ż ć ó ł chars.

But when i read this file, the field who contain "ŁÓDŻ" return "LODZ".

I dont find what is the caue of the problem
May be i forgot somethin ...

I can send you my file if you want ...

Thanks

Posted: Tue Mar 25, 2008 10:38 am
by larsa
Hello

Your string is not a correct unicode string. It is probably 8-bit and depends on codepages in order to display it correct. Use a windows api function in order to convert it to an unicode string.

Lars Arvidsson

Posted: Tue Mar 25, 2008 10:53 am
by j.didi
Hello

My Windows is in french and i tried to read strings from pologne.
I changed the settings in control panel and set "polonais" for non unicode programs and now it s ok.

thank you.

Posted: Thu Mar 27, 2008 8:03 am
by larsa
Hello

This confirms that the string is 8-bit and not unicode.


Lars Arvidsson