Page 1 of 1

An incorrect character In Mongolian language

Posted: Tue Jan 19, 2010 6:00 am
by 9523580
Hi.

We use Unicode TeeChart ActiveX ver.7.0.1.4.

Using Mongolian language, some letters are not displayed correct.
They are written Question mark(?).

There is an example.

'Нийт дуудлага' -> 'Нийт дуудлага' -> Correct

'Гэнэтийн өвчлөл' -> 'Гэнэтийн ?вчл?л' -> Some Characters are ' ? '.

This problem occurs both Unicode and non-Unicode version.
Is there any way to solve this?

Please answer soon.

Re: An incorrect character In Mongolian language

Posted: Tue Jan 19, 2010 4:32 pm
by yeray
Hi Seth,

Have you tried with CodeUTF8String and DecodeUTF8String functions?
Something like this

Code: Select all

TChart1.Header.Text.Text = TChart1.Environment.CodeUTF8String("Нийт дуудлага Гэнэтийн ", True) + TChart1.Environment.DecodeUTF8String("@U#04E9") + TChart1.Environment.CodeUTF8String("вчл", True) + TChart1.Environment.DecodeUTF8String("@U#04E9") + TChart1.Environment.CodeUTF8String("л", True)

Re: An incorrect character In Mongolian language

Posted: Thu Jan 21, 2010 7:02 am
by 9523580
Thanks your favor.

That problem is solved well.

But we have another one.
Look at this picture.
Image

In Editing dialog, Series tab, there are not correct characters.
To change Series Title, we can't input words in Mongolian.
As you see, some letters are displaying '?' .
How can we display characters correctly? We have to write Unicode String?

If there is not any way to solve this problem, Can you fix it?

We use Unicode TeeChart ActiveX ver.7.0.1.4.

I'll be waiting for your answer.

Re: An incorrect character In Mongolian language

Posted: Thu Jan 21, 2010 4:07 pm
by yeray
Hi Seth,

I'm afraid that TeeChart AX v7 don't allow this because it is a COM wrapper of TeeChart Pro VCL v7 that wasn't compiled in an unicode IDE and the internal names aren't unicode strings. We hope that the next TeeChart AX v9 will be totally unicode.

Re: An incorrect character In Mongolian language

Posted: Tue Feb 02, 2010 5:01 am
by 9523580
Hello,

I got your reply well.

Then, Can we hide Data Tab in Editing Dialog?

Look at this picture, please.
Image

We are making Editing Dialog in TeeCommander Object.
So, do you have an any way for hiding Data Tab?

If you have one, please answer Soon.

Re: An incorrect character In Mongolian language

Posted: Tue Feb 02, 2010 8:48 am
by narcis
Hi Seth,

Yes, this is possible and there's an example at All Features\Components\Chart Editor\Chart Editor dialog in the features demo available at TeeChart's program group.

Re: An incorrect character In Mongolian language

Posted: Wed Feb 03, 2010 2:47 am
by 9523580
Hello, Narcís.

Thank you for your answer.
But that is not way that I want.

I guess that have to create extra TeeEditor Component.
However, our method is that we click TeeCommander to display Editing Dialog.


Do We have to always create extra Component to control Editing Dialog?
In this way, can we connect TeeCommender?

Ask your favor.

Re: An incorrect character In Mongolian language

Posted: Wed Feb 03, 2010 8:38 am
by yeray
Hi Seth,

Please, take a look at the following demos:
All Features\Welcome !\Components\ChartController\Custom Buttons
All Features\Welcome !\Components\ChartController\ChartController Editor