Albert,
>
> I get the following results with cpcurrent() with these OS/FoxPro
> combinations:
>
> 1) Windows 3.2 Simplified Chinese / FoxPro 2.6a and VFP 3.0b
>
> cpcurrent() = 936
> cpcurrent(1) = 936
> cpcurrent(2) = 936
>
> 1) Windows NT 4.0 Pan Chinese / FoxPro 2.6a
>
> cpcurrent() = 0
> cpcurrent(1) = 1252
> cpcurrent(2) = 936
>
> 1) Windows NT 4.0 Pan Chinese / VFP 3.0b and VFP 5.0a
>
> cpcurrent() = 936
> cpcurrent(1) = 936
> cpcurrent(2) = 936
>
> My applications use the active codepage to select the language to display.
>
> VFP 3.0b generates a GPF in the VFP300.ESL when a form is opened, but VFP
> 5.0a runs OK.
>
> The Chinese strings are not displaying properly under VFP 5.0a. I get
some
> Chinese characters mixed with '?' - question marks. We have the same
> mangled characters with 32bit Borland C++ 5.01 applications.
>
> Since Pan Chinese NT supports both Traditional Chinese and Simplified
> Chinese with an English Windows front end,
I heard that Pan Chinese is a Chinese version with English message and
menu.
are the mangled strings I am
> getting the result of trying to display Simplified Chinese strings with
the
> Traditional Chinese character set active?
May be not. When the OS cannot find the Chinese Character from the font
files, a "?" will be display instead.
Where is your Chinese data come from. Import from other files or input
under VFP? When I open my DBase IV table from vfp, all Chinese characters
was unreadable. I need to export the table to a text file from DBaseIV and
append it within VFP.
Do you have any single byte characters near the position of "?" ? If
that is the case, the OS may treat the single byte character and the first
byte of next Chinese character as a Chinese character which cannot be found
from the font files. This was a big problem on Chinese system in the past
and Chinese Windows may not solve it completely.
I am using NT 4.0 workstation Chinese version. I have no problem to
display and print Chinese. But when I read the VFP online help file, "?"
sometimes appears at where "(", ")" and "'" should be.
Last thing is Pan Chinese fully support unicode. It may help to solve
your problem.
Above is just my experience and may not related to your problem.
HTH
S H
any recommendations for tweaking the application's runtime
> environment to solve these problems?
>
>
Siu-hung Lai