Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double byte characters on chinese operating system
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01070937
Message ID:
01071067
Vues:
16
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform