Dear Sir,
My OS is Server 2008 + IIS7,
1. use GenChart.aspx(to generate Chart file web page and saved as stream, use response.write() to displayed web page, and
2. show.aspx(use script-TeeChart.Import.LoadfromUrl(xxx) to load files generated from GenChart.aspx
Problem :
after importing, Chinese character could not be displayed, shown as weird character. Tried to set FontFont.Charset=136(臺灣繁體中文),Font.Name=”標楷體” DFKai-sb, but failed.
Please advise, thanks.
Chinese Character Display Problem
Chinese Character Display Problem
- Attachments
-
- 2008.JPG (110.65 KiB) Viewed 12143 times
Re: Chinese Character Display Problem
Hi DSC,
Could you please tell us what exact TeeChart version are you using? Are you using the unicode version of TeeChart?
Could you please attach here a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Could you please tell us what exact TeeChart version are you using? Are you using the unicode version of TeeChart?
Could you please attach here a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Chinese Character Display Problem
Hi,
Answers for your questions,
1. Could you please tell us what exact TeeChart version are you using?
TeeChart Pro ActiveX Version 8
TeeChart8.ocx V8.0.0.5
TeeChart.dll V8.0.0.1
AxInterop.TeeChart.dll V8.0.0.1
2. Are you using the unicode version of TeeChart?
No, I installed the TeeChart8Activex.exe. The file name of the Unicode version was TeeChartAx8Unicode.exe. I didn’t install it .
3. Could you please attach here a simple example project we can run as-is to reproduce the problem here?
As attached.
Answers for your questions,
1. Could you please tell us what exact TeeChart version are you using?
TeeChart Pro ActiveX Version 8
TeeChart8.ocx V8.0.0.5
TeeChart.dll V8.0.0.1
AxInterop.TeeChart.dll V8.0.0.1
2. Are you using the unicode version of TeeChart?
No, I installed the TeeChart8Activex.exe. The file name of the Unicode version was TeeChartAx8Unicode.exe. I didn’t install it .
3. Could you please attach here a simple example project we can run as-is to reproduce the problem here?
As attached.
- Attachments
-
- Test.rar
- (108.1 KiB) Downloaded 728 times
Re: Chinese Character Display Problem
Hi DSC,
Then you should use CodeUTF8String function to show your unicode strings. This works fine in the example you attached:
Then you should use CodeUTF8String function to show your unicode strings. This works fine in the example you attached:
Code: Select all
TChart.Header.Text.Add(TChart.Environment.CodeUTF8String("鋼捲號碼:653420 產出日期:2009/06/12 13:23:00 訂單資訊:oooxxxxx", True))
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Chinese Character Display Problem
Hi Yeray,
Tried the method you instructed, but the problem remains. Please refer to the attached three files for details.
1. Code.JPG is the program. 2. picture.JPG is the diagram 3. debug.JPG is the diagram after running debug.
In addition, the Server2008 edition we use is English edition, and we also use Traditional Chinese language pack as well (the language pack is released by Microsoft). Just wondering if this would have any connection with the problem?
Tried the method you instructed, but the problem remains. Please refer to the attached three files for details.
1. Code.JPG is the program. 2. picture.JPG is the diagram 3. debug.JPG is the diagram after running debug.
In addition, the Server2008 edition we use is English edition, and we also use Traditional Chinese language pack as well (the language pack is released by Microsoft). Just wondering if this would have any connection with the problem?
- Attachments
-
- debug.JPG (34.97 KiB) Viewed 12064 times
-
- picture.JPG (31.34 KiB) Viewed 12062 times
-
- code.JPG (112.03 KiB) Viewed 12061 times
Re: Chinese Character Display Problem
Hi DSC,
It's really strange. We'd like you to do some tests to ensure that this is a TeeChart related problem, first, and to try to identify the origin of the problem, second.
First, simply showing a chinese string in a message box works fine?
Second, we recommend you to download and use the unicode version available at the customers download area.
Third, could you please test if the UnicodeTest example shipped with the unicode version shows the characters fine?
Thanks in advance.
It's really strange. We'd like you to do some tests to ensure that this is a TeeChart related problem, first, and to try to identify the origin of the problem, second.
First, simply showing a chinese string in a message box works fine?
Second, we recommend you to download and use the unicode version available at the customers download area.
Third, could you please test if the UnicodeTest example shipped with the unicode version shows the characters fine?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Chinese Character Display Problem
Hi Yeray,
Thank you for your help. The problem resolved.
One final question, why server 2008 needs to have unicode version installed but XP doesn't need?
Thank you for your help. The problem resolved.
One final question, why server 2008 needs to have unicode version installed but XP doesn't need?
Re: Chinese Character Display Problem
Hi DSC,
Are both OS chineses? This could be due to the differences between the english and the chinese OS distributions.
Are both OS chineses? This could be due to the differences between the english and the chinese OS distributions.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |