UNICODE problem ...

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
j.didi
Posts: 2
Joined: Thu Mar 20, 2008 3:13 pm

UNICODE problem ...

Post 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
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post 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
j.didi
Posts: 2
Joined: Thu Mar 20, 2008 3:13 pm

Post 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.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

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


Lars Arvidsson
Post Reply