473,320 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Chinese character

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
Nov 16 '05 #1
4 2983
Winnie <an*******@discussions.microsoft.com> wrote:
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?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #2
-----Original Message-----
Winnie <an*******@discussions.microsoft.com> wrote:
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?
--
Jon Skeet - <sk***@pobox.com>
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
Nov 16 '05 #3
Winnie <an*******@discussions.microsoft.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #4
> 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.

--
Mihai
-------------------------
Replace _year_ with _ to get the real email
Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Coco | last post by:
Hi! I managed to display chinese character in my web form (.aspx), in certain situation i need to to set the text of the label of my web form in chinese character programatically which is done in...
6
by: Zhang Weiwu | last post by:
Hello. I am working with a php software project, in it (www.egroupware.org) Chinese simplified locate is "zh" while Traditional Chinese "tw". I wish to send correct language attribute in http...
8
by: Agnes | last post by:
In my .net ,i need to generate an xml file , however, user may input a chinese character, Then , the xml will got something unknow characters. the following is my code, Does anyone know how to...
2
by: bob | last post by:
Im having a wierd chinese font issue in Access 2000. I installed the chinese support for access 2000, have all the windows stuff setup, even have 10-12 other chinese fonts installed. I made a...
8
by: pabv | last post by:
Hello all, I am having a few issues with encoding to chinese characters and perhaps someone might be able to assist. At the moment I am only able to see chinese characters when displayed as...
1
by: CYF | last post by:
My Computer : Window XP Pro English Version -> I have set the "Regional" to "Taiwan" Mysql 4.1.x -- > set to big5 already i am using C# to program. When i retrieve chinese character from the...
0
by: Coco | last post by:
Hi! I have been searching for solution for the problem i am facing in displaying chinese character in my aspx page initially when i created the aspx page with some chinese chaarcter, it worked...
12
by: Steven Nagy | last post by:
Hi all, I have to do a website in chinese! Basically I just need to know how to output chinese characters. I am assuming its very easy, but have never done it before. I can however do simple...
19
by: many_years_after | last post by:
Hi,everyone: Have you any ideas? Say whatever you know about this. thanks.
2
by: Wassy | last post by:
Hi, i have a website which contains both chinese and english content which is stored in a database. Each record in the dB has an english and Chinese field. If a user enters a search string i have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.