Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double byte characters on chinese operating system
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01070937
Message ID:
01071067
Views:
15
Wayne,

The key is to use a proper font. Try running the following code. If the pound symbol doesn't show (because you don't have the "Latha" font installed), you may change the font to any of the following:
Gautami, M V Boli, Mangal, Raavi, Shruti, SimHei, Tunga, ...
o=CreateObject('Form')
o.AddObject('txt','label')
o.txt.FontSize=30
o.txt.Caption=Chr(163)
o.txt.FontName='Latha'
o.txt.Visible=.T.
o.txt.AutoSize=.T.
o.Show(1)
Ben


>I'm having trouble with currency symbols eg Euro chr(128), Yen chr(165), Pound chr(163), displaying correctly on Chinese WinXP operating system (codepage 950). The executable was compiled on the standard XP pro.(codepage 1252). I have tried cpconvert() & strconv(), neither work.
>Regards,
>David Wilson (MYOB)
Previous
Reply
Map
View

Click here to load this message in the networking platform