Unicode strings displayed on .net controled?

J

Jochen Albert

Hi there,

Perhaps someone can give me a hint on what i have to do to get chinese
and japanese charakters displayed in my .net application.

I am using winXP and .net environment is 1.1 with latest servicepacks.

So, if i want to display chinese unicode characters in my application,
this is very weird. On TreeViews, CheckBoxes and Buttons I see chinese
charakters, but not on some labels and groupboxes.
When trying the application on another machine (also xp) there are no
chinese charakters at all, but only those nice boxes. :)

has anyone experience with my problem?

regards,
Jochen
 
N

Nick Hounsome

Jochen Albert said:
Hi there,

Perhaps someone can give me a hint on what i have to do to get chinese and
japanese charakters displayed in my .net application.

I am using winXP and .net environment is 1.1 with latest servicepacks.

So, if i want to display chinese unicode characters in my application,
this is very weird. On TreeViews, CheckBoxes and Buttons I see chinese
charakters, but not on some labels and groupboxes.
When trying the application on another machine (also xp) there are no
chinese charakters at all, but only those nice boxes. :)

Have you checked the Font properties?
Most fonts don't support chinese.
 
J

Jochen Albert

Nick said:
Have you checked the Font properties?
Most fonts don't support chinese.

Thanks for the tip, but now i'm even more confused.
All Fonts are set to Microsoft sans serif, with that i see partly
chinese characters.
when switching to another font "arial" in my test, the visible chinese
characters disappeared, so perhaps "microsoft sans serif" supports
chinese characters only sometimes? :)

perplexed,
Jochen
 
N

Nick Hounsome

Jochen Albert said:
Thanks for the tip, but now i'm even more confused.
All Fonts are set to Microsoft sans serif, with that i see partly chinese
characters.
when switching to another font "arial" in my test, the visible chinese
characters disappeared, so perhaps "microsoft sans serif" supports chinese
characters only sometimes? :)

perplexed,
Jochen

When you bring up the font selection dialog there is a combo "Script" - mine
does not list chinese but does list several others - are these all set
appropriately? (this is not in the expanded property in property view).

If that is the same then I can only assume that you have an application bug
since it is hard to see how it can be a framework bug if it is object rather
than class dependent
 
J

Jochen Albert

Nick said:
When you bring up the font selection dialog there is a combo "Script" - mine
does not list chinese but does list several others - are these all set
appropriately? (this is not in the expanded property in property view).

If that is the same then I can only assume that you have an application bug
since it is hard to see how it can be a framework bug if it is object rather
than class dependent

The "script" combo is set everywhere to the same. (it's set everywhere
to "western" so i dont think thats apropriate, but anyway doesn't make a
difference when changing that).

One thing i saw when playing arround some minutes ago is, that if I
change the "FlatStyle" property of a control from Standard to System,
then there are chinese charakters displayed.

Does that make any sense?

Thanks so far,
Jochen
 
J

Jochen Albert

Jochen said:
The "script" combo is set everywhere to the same. (it's set everywhere
to "western" so i dont think thats apropriate, but anyway doesn't make a
difference when changing that).

One thing i saw when playing arround some minutes ago is, that if I
change the "FlatStyle" property of a control from Standard to System,
then there are chinese charakters displayed.

Does that make any sense?

Thanks so far,
Jochen

tested on my second WinXP computer, there no chinese charakter appears
at all.
Jochen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top