Chinese character

  • Thread starter Thread starter Winnie
  • Start date Start date
W

Winnie

Hi,
I am currently writing a C# Windows Application.
On my form, I have several labels with Traditional Chinese
text, it is ok on my machine (Windows 2000), but after
install on Windows 98 or NT, these labels show
questionmarks (????) instead of the chinese characters!
Would someone please help me to solve it out? I don't want
to use the images to replace the chinese characters.

Please help and thanks!
Winnie
 
Winnie said:
I am currently writing a C# Windows Application.
On my form, I have several labels with Traditional Chinese
text, it is ok on my machine (Windows 2000), but after
install on Windows 98 or NT, these labels show
questionmarks (????) instead of the chinese characters!
Would someone please help me to solve it out? I don't want
to use the images to replace the chinese characters.

Have the 98 and NT machines got the relevant fonts installed?
 
-----Original Message-----


Have the 98 and NT machines got the relevant fonts installed?

--
Jon Skeet - <[email protected]>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.

Because this application will install in various platform,
I am not sure do the user got the releveant fonts or not.
Is there any method to include the font the program used
in the setup? or is there any method to display the
chinese character regardless the user local setting?
Please help! Thanks
Winnie
 
Winnie said:
Because this application will install in various platform,
I am not sure do the user got the releveant fonts or not.
Is there any method to include the font the program used
in the setup? or is there any method to display the
chinese character regardless the user local setting?
Please help! Thanks

I'm sure there are ways to bundle fonts with your installer, but I
don't know how to do it myself. I'd check whether or not that's the
problem first though.
 
I'm sure there are ways to bundle fonts with your installer, but I
don't know how to do it myself. I'd check whether or not that's the
problem first though.

You are on the wrong path.
On Windows 98 .NET will use the underlaying API, which is not unicode.
All strings will be converted to ANSI code page.
As a result, an application trying to show Chinese characters will work
only on a matching Chinese version of Windows 98 (Traditional or Simplified)

And on NT (and any other system, 2000,XP,2003) fonts are not enough.
You need the full language support (fonts, conversion tables, etc).
Because this application will install in various platform,
I am not sure do the user got the releveant fonts or not.
Is there any method to include the font the program used
in the setup?
No. The font is not enough and I am also not sure the MS license allowes it.
On the other side, the full language support pack is available for free
and it is ok to redistribute. You can install that.
or is there any method to display the
chinese character regardless the user local setting?
Only on Unicode platforms and only with full language support installed.
So, no chance non-Chinese Windows 95/98/Me.
 
Back
Top