Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable Thai Script
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00100743
Message ID:
00101175
Vues:
34
>Sawadee,
>
> I need to know the proper way to set a table to store data with a code page that supports Thai Script. The Thai windows version allows you to enter the data in Thai but when you move from the field using tab or return FoxPro reverts the data to another code page which does not support the Thai characters. I know I need to mark the table with a different code page but I don't know which one to use or which fonts support this code page. If anyone in Bangkok is reading I would appreciate your help. Thanks.
>
>Eric Kleeman
>Koh Samui

Sawasdee Eric,
The proper code page for Thai is 874. I think if you open your table and use command cpdbf() you would see that the code page is not 874. I used to have this experience and this is the way I did... use command cpcurrent() to ensure that the current code page is 874, open the old table , copy stru to new table then from new table append from the old one. I also had code page problem with form files (.scx and .sct ) and I also work around this way. I couldn't find other ways to solve this.
For the fonts, if the code page is 874, you could use any Thai fonts in your system. I personally like Ms Sans Serif.
Hope this help.
Jaruwat c.
Prapokklao hospital
Chantaburi
Thailand
jaruwat@usa.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform