An incorrect character In Mongolian language

TeeChart for ActiveX, COM and ASP
Post Reply
Seth
Newbie
Newbie
Posts: 92
Joined: Tue Aug 17, 2004 4:00 am

An incorrect character In Mongolian language

Post by Seth » Tue Jan 19, 2010 6:00 am

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.

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: An incorrect character In Mongolian language

Post by Yeray » Tue Jan 19, 2010 4:32 pm

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)
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Seth
Newbie
Newbie
Posts: 92
Joined: Tue Aug 17, 2004 4:00 am

Re: An incorrect character In Mongolian language

Post by Seth » Thu Jan 21, 2010 7:02 am

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.

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: An incorrect character In Mongolian language

Post by Yeray » Thu Jan 21, 2010 4:07 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Seth
Newbie
Newbie
Posts: 92
Joined: Tue Aug 17, 2004 4:00 am

Re: An incorrect character In Mongolian language

Post by Seth » Tue Feb 02, 2010 5:01 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: An incorrect character In Mongolian language

Post by Narcís » Tue Feb 02, 2010 8:48 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Seth
Newbie
Newbie
Posts: 92
Joined: Tue Aug 17, 2004 4:00 am

Re: An incorrect character In Mongolian language

Post by Seth » Wed Feb 03, 2010 2:47 am

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.

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: An incorrect character In Mongolian language

Post by Yeray » Wed Feb 03, 2010 8:38 am

Hi Seth,

Please, take a look at the following demos:
All Features\Welcome !\Components\ChartController\Custom Buttons
All Features\Welcome !\Components\ChartController\ChartController Editor
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply