Problems with half sign (hex BD)

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
heinzi
Posts: 1
Joined: Thu Nov 04, 2004 3:24 pm
Location: vienna
Contact:

Problems with half sign (hex BD)

Post by heinzi »

Hello,

If I assign XLSWrite1.Sheets[0].AsString[Col1,Row1] := chr(189)
I get in German windows the correct half sign in Czech Windows the sign "1"
(perhaps the "first" sign from 1/2, because for the 3/4 sign (hex BE) I get in Czech Windows the sign "3")

If I assign XLSWrite1.Sheets[0].AsString[Col1,Row1] := chr(189)+ chr($30D0)
I get in German and Czech windows the correct half sign + the correct japanese sign

Have somebody an idea how I can assign a half sign?

I use Windows 7, Delphi 2009 Prof, XLS-components 4.00.21, because I can not install the current version ( Access violation reading Tsheet.MergedCells)

Thanks,

Heinz Herzog
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Problems with half sign (hex BD)

Post by larsa »

Hello

All strings in XLSReadWriteII are unicode, so your code should work. The only I can think of, is if the selected font don't displays the characters as you want.
Lars Arvidsson, Axolot Data
Post Reply