Unicode strings displayed on .net controled?

  • Thread starter Thread starter Jochen Albert
  • Start date Start date
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
 
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.
 
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
 
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
 
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
 
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
 
Back
Top