Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable Thai Script
Message
From
25/05/1998 05:20:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00100743
Message ID:
00101634
Views:
30
Sawadee,

In addition to what Koon Jaruwat said, you may want to check the cpzero.prg under VFP help. This .prg removes code page from a table. After you remove the code page, you should check the "prompt for code page" checkBox in the Data tab of Options, and then the next time you open a cope-page-less table you will have a chance to specify your desired code page.

I have set the font of all of my base classs to MS Sans Serif, which displays BOTH English and Thai nicely.
>>>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
>
>Thanx,
>
> I'll give it a try.
>
>Eric K.
Chen Nan
Previous
Reply
Map
View

Click here to load this message in the networking platform