Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I know the user input (chinese) or (Engilsh) ?
Message
 
To
11/11/2002 03:39:49
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00720898
Message ID:
00720990
Views:
13
Well, if Chinese characters have some specific ascii codes, like hebrew, check out the ASC() function in VFP. For instance, you could have something like:
if ASC(SomeChar) >= 224
   ** chinese
else
   ** english
endif
For Hebrew chars, 224 is the first one. I don't know for Chinese.

Regards,
Jaime

>As title, Pls help
>
>Thanks a lot.
>From Agnes
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform