Japanese charters does not show

The place for threads about TimoSoft EditControls.
Post Reply
godeny
Lieutenant
Posts: 18
Joined: 28 Nov 2007, 19:44
Contact:

Japanese charters does not show

Post by godeny »

Hello,

i am experimenting with your "Events" sample.
I changed the font of the edit controls from Tahoma to Arial Unicode MS - this font contains uch more characters. I use the "Zeichentabelle" program from Windows (sorry, i am at the moment in Germany, and have a german Windows XP) to place characters on the clipboard. The hungarian, russian, greek character show up in the controls, if i paste them, but the japanese characters show only a replacement. The clipboard has the characters correctly, if i paste the clipboard into a Firefox composer, the japanese charceters will be shown correctly.

As my project has a picture database, and i want to show the names of the authors (and other information about the pictures too), and several pictures come from Japan, i need to show japanese characters too.

Can you help me please ?

Zoltan
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Post by TiKu »

That's strange. I'll have a look at it. Could you tell me the code of a character that doesn't work?
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
godeny
Lieutenant
Posts: 18
Joined: 28 Nov 2007, 19:44
Contact:

Post by godeny »

None of them works.
Here two codes, 0x30A1 is from the hiragana/katakana section, 0x4E01 from the CJK section.
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Post by TiKu »

Is the UseSystemFont property set to True (the default)? If so, probably another font than Arial Unicode MS is used and the characters can't be displayed in this font.
Also how do you paste the characters? Ctrl+V? VB's Clipboard object isn't Unicode-capable, so using Clipboard.GetText() shouldn't be used.

So far I can't reproduce the problem (using Arial Unicode MS and Ctrl+V).
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
godeny
Lieutenant
Posts: 18
Joined: 28 Nov 2007, 19:44
Contact:

Post by godeny »

It was the UseSystemFont property.
Excuse me.
(It is not a usual property for the normal controls).

Thank you for the quick help.

Zoltan
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Post by TiKu »

No problem, you're not the first one struggling with this property. :)
I'll add a note to the FAQ in the help files.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply