Page 1 of 1

Chinese characters display error

Posted: Wed Nov 03, 2010 6:44 am
by 9529132
I have read the post http://www.teechart.net/support/viewtopic.php?t=6339 using CodeUTF8String, but the error still exists when I added Chinese for axis title. I am using TeeChartAX8Unicode version. The code I use is m_chart1.GetAxis().GetBottom().GetTitle().SetCaption(m_chart1.GetEnvironment().CodeUTF8String(_T("负载转矩 (mN.m)"),FALSE)); and the display are some HEX series. If I change FALSE to TRUE in the CodeUTF8String, the display will be some squares. I attached the picture FYI.
error.jpg
FALSE in CodeUTF8String
error.jpg (147.21 KiB) Viewed 15497 times
So would anyone please show me how to display correctly? Thanks.

Re: Chinese characters display error

Posted: Thu Nov 04, 2010 4:26 pm
by 10050769
Hello David,

Sorry for the delay. We have done different tests with c++ and your Unicode characters. Result of this, has led us to the conclusion that there is a problem with text import. So, tomorrow we will try to send you a specific version of ActiveX for you.

Thanks,

Re: Chinese characters display error

Posted: Fri Nov 05, 2010 10:13 am
by 10050769
Hello David,

Could you please, send us your e-mail address to info at steema dot com. So we can send you a link with file project of ActiveX.

Thanks,

Re: Chinese characters display error

Posted: Sun Nov 07, 2010 7:43 am
by 9529132
email sent. Thanks.

Re: Chinese characters display error

Posted: Mon Nov 08, 2010 9:28 am
by 10050769
Hello David,

You have int your e-mail our file link project.

Thanks,

Re: Chinese characters display error

Posted: Mon Nov 08, 2010 10:05 am
by 9529132
I dind't receive email other the email notification from the forum.

Re: Chinese characters display error

Posted: Mon Nov 08, 2010 10:39 am
by 10050769
Hello David,

Could you please, tell us if you have already received the email?

Thanks you,

Re: Chinese characters display error

Posted: Mon Nov 08, 2010 12:49 pm
by 9529132
I have tested the fixed version and it works well with all words displayed correctly. So can I distribute the file you sent me instead?

Re: Chinese characters display error

Posted: Tue Nov 09, 2010 10:35 am
by 10050769
Hello David,

The test version we made available didn't have the editors completely setup. I'm sending you the path to a file you can use for distribution until the maintenance release is available (imminent).You have in your e-mail our file link project.

Thanks,

Re: Chinese characters display error

Posted: Tue Nov 09, 2010 12:27 pm
by 10050769
Hello David,

As a followup to the last post, to clarify the question on distribution: If you have licensed TeeChart v2010 ActiveX then you may distribute that version. If that is not the case then you may not do so.

Thanks,