GREEK_CHARSET

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
plutoPlanet
Posts: 4
Joined: Sun Dec 15, 2002 10:06 pm
Contact:

GREEK_CHARSET

Post by plutoPlanet »

Hi,

I need to implement Greek in my application. When insert greek charakters into Dictionary manager everything looks fine (I have already added a lanugage named 'greek' and I've selected GREEK_CHARSET).

As soon as I run the application, switch over to Greek, I don't get any Greek characters, more something like this: óäösdf óäösdf

Another phenomenon is: When I do copy/paste from MS Word or another application to Dictionary manager I get something like this: 'a?p?a' (instead of 'alpha' in Greek letters).

Do you have any hints what I am doing wrong? Do I need to get a special font (I've used Arial Unicode).

yours

Herwig Huber
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This looks like you didn't set the appropriate charset value for Fonts in your application. Just edit Charsets property and set GREEK_CHARSET for Greek language.
plutoPlanet
Posts: 4
Joined: Sun Dec 15, 2002 10:06 pm
Contact:

Post by plutoPlanet »

Hi, thank you for your suggestion.

I think I need to describe my problem more detailed:
As I mentioned: I already have selected GREEK_CHARSET for the components.

You mentioned that I have to select an "appropriate charset value for Fonts in your application". I can select appropriate charsets for components and forms, but how can I select a charset for the application itself? (However: don't thing that this is the problem).

Another thing: In my Application I have around 50 forms. In one of these form I've made _THE_ test:

1. I ran TiSlang and translated everything to English, German, Greek,...
2. I've set the TForm's charset to GREEK_CHARSET on the greek language column.
3. Compile, run, result:
Greek translation:
A) TLabel -> works
B) TDBStringGrid -> works
C) TRadiogroup -> works
D) TButton -> works NOT! (óäösdf etc....)
E) Menue -> works NOT
F) TGroupBox -> works
G) TPageControl -> works NOT

...this is the big problem I have...

btw: I use BCB6 professional (German edition) and WinXP (German edition).

A completly other question: Does TsiLang support UTF-8?

yours,

Herwig
plutoPlanet
Posts: 4
Joined: Sun Dec 15, 2002 10:06 pm
Contact:

Post by plutoPlanet »

Hi,

ok I can partly answer this question to myself:
1. TButton won't work -> Replace them by TBitBtn
2. TMenu works when I do:
Screen->MenuFont->Name="Arial";
Screen->MenuFont->Charset=GREEK_CHARSET;

But:

What can I do with TPageControl ??

Herwig
dorin
Posts: 20
Joined: Thu Nov 21, 2002 3:29 pm
Location: House of Technics
Contact:

Post by dorin »

Hi!

You can make the page control work exactly the same way as Borland made TMenuItem and TBitBtn. You must owner-darw them.

Set TPageControl's OwnerDraw property to True. And draw tab captions in the OnDrawTab event.
Post Reply