I got a note from a Chinese user this morning. She sent the following screenshot:
(http://mrainey.freeservers.com/Miscellaneous/badfont.jpg)
Here's what I see when I run the program:
(http://mrainey.freeservers.com/Miscellaneous/goodfont.jpg)
The only problem appears to be with the degree symbol.
The font used is Tahoma. The strings for the combo box are defined as Data statements, then loaded into an array of IStrings. Here's my code.
DataBegin ThreadTypeData
Data " Unified 60ÂÃ,°"
Data " Metric / ISO 60ÂÃ,°"
Data " Acme"
Data " ISO Metric Trapezoidal"
Data " U.S. Buttress 7ÂÃ,° x 45ÂÃ,°"
Data " ISO Buttress 3ÂÃ,° x 30ÂÃ,°"
Data " Whitworth"
Data " Taper Pipe NPT"
Data " ISO Taper Pipe (BSP)"
DataEnd
Def Types[30,9]:IString
For a = 0 To 8
GetData ThreadTypeData,Types[0,a]
Next a
For a = 0 to 8
AddString ThreadWin,cmbThreadType,Types[0,a]
Next a
I have users in quite a few countries, and none has ever reported this before. I'd appreciate any suggestions. Problem is, I can't duplicate it so I can't test it.
Would my code work if I simply defined the IString as an IWString (Unicode)?
Nope, AddString doesn't seem to work with IWString.
Hi mr.mrainey...
Do you find solution?
I have similiar problem ,one guy from Canada tell me that he has extra chars in
my ABasic editor but i dont see this chars on my computer?
Hi,
Nothing yet. I intend to spend some time reading about Unicode and then playing with the Emergence Unicode functions. I sent the user a program with the degree symbols removed. That won't be a permanent solution, obviously.
It's an area where I need to expand my knowledge anyway.