May 15, 2024, 10:24:18 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Display problem for Chinese user

Started by mrainey, May 19, 2008, 06:41:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrainey

May 19, 2008, 06:41:32 AM Last Edit: May 19, 2008, 08:23:15 AM by mrainey
I got a note from a Chinese user this morning.  She sent the following screenshot:




Here's what I see when I run the program:




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.
Software For Metalworking
http://closetolerancesoftware.com

aurelCB

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?

mrainey

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.
Software For Metalworking
http://closetolerancesoftware.com