This is a migrated thread and some comments may be shown as answers.

Support Chinese Language

14 Answers 1193 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benson
Top achievements
Rank 1
Benson asked on 19 May 2007, 05:20 AM
Since my data contains Chinese language (Asian, double-byte), the report output seems to be handled wrongly.
The font of the textbox may help?

Please help
Benson.

14 Answers, 1 is accepted

Sort by
0
Benson
Top achievements
Rank 1
answered on 21 May 2007, 02:20 AM
Support,

I found a similar post about "language" on 2007/2/5 topic "UTF-8 In Reports". I followed the recommended instruction to install 'Arial Unicode MS' but the report on browser still cannot display normally. Also, the attached zip file sample 051817_TraditionalChinese.zip seems to have no designer file so that I cannot open the Telerik Report.

Question:
1. Can you make the demo again in a project basis?
2. I installed arialuni.ttf on the designed pc. Do client pc need this ttf to display 'normal' in their browsers?

Eager to know how to handle "Traditional Chinese" in browser and pdf!
Benson.
0
Rossen Hristov
Telerik team
answered on 21 May 2007, 08:53 AM
Hello Benson,

In order to display Chinese characters, you should do the following:

1. Install the ArialUnicode font on your machine.
2. Set the Font property of all TextBoxes that will display Chinese Traditional characters to ArialUnicode.
3. "Feed" UTF-8 encoded text to these TextBoxes.
4. All of your clients that want to see the Chinese characters in their web-browsers should have ArialUnicode installed on their machines, because the browser will use the font to display these characters.
5. The ArialUnicode font will be embedded in an exported PDF file, so people that need to view ONLY PDF files will not need to install the font.

Here we are speaking about Chinese, but ArialUnicode contains all alphabets on Earth, so this applies to any other known language. You only need to have the text encoded in Unicode, so that the ArialUnicode font will work correctly.

I am attaching a Solution with two projects -- a WebSite and a ClassLibrary. In the ClassLibrary project I have put a very simple report with a TextBox with ArialUnicode set as its Font property (Style->Font) and with UTF-8 encoded Chinese text. In the WebSite, there is the WebViewer that will show the report. You may need to refresh the WebSite's assembly references (Bin folder) to point to the Telerik DLL's on your computer.

Give it a try and tell us if it does not solve your problem.

Regards,
Rossen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 22 May 2007, 02:51 AM
Dear Support,

I installed ArialUnicode font (Control pannel->font->add...) which downloaded somewhere with size ~23MB. I even reboot my pc. After openning your sample project, the Chinese in the textbox looks fine and I can see ArialUnicode font in the property window. Then I run the project, but the Chinese in IE browser cannot display properly. I verified that the default encoding is UTF-8 and no matter what encoding I changed, Chinese codes still display wrongly.

Question:
1. Any more hints on my situation?
2. For RadControls (no Telerik reporting) to display or work with Chinese characters, do I need to install ArialUnicode?
3. Why only Telerik reporting needs this unicode font to work with browser? (IE originally supports UTF-8 and I only need to display 1 type of Asian language at a time)
4. I used other ASP.NET reporting controls and never heard of using ArialUnicode for Asian language. Is it specific to Telerik reporting control?

Thanks for your advice.
Benson.
0
Rossen Hristov
Telerik team
answered on 22 May 2007, 04:46 PM
Hello Benson,

Up to your questions:

1. Can you send us a screenshot (to support@telerik.com) of your browser running our sample project and displaying Chinese incorrectly? We will also appreciate a screenshot of the Visual Studio designer showing the Chinese correctly so that we can compare them. Since the designer shows the Chinese correctly, we assume the problem is in the browser. Also, send us a screenshot of the Chinese in an exported PDF file. Is the Chinese in the PDF correct? I am attaching a screenshot of the Chinese text on our browser. Can you verify whether it is correct or not?

2. Arial Unicode is not directly connected to a single Telerik product. We simply suggested it, since it contains all possible languages and "plays nicely" with PDF files.

3. Reporting does not absolutely need it, but we suggested it, since it is free to use and has many benefits (there is no need to install Asian and Eastern European Font Packs on the clients' Adobe Readers, for example). Also it is a Unicode font. If you want, you can send us the original Chinese font that you used and the original Chinese text that did not display correctly and we will try to reproduce your problem.

4. No, it is not specific. We simply suggested it. As I already mentioned, if you send us your font and your original text, we will make an attempt to reproduce the problem that you have and solve it.

Once again, we are very sorry for the inconvenience that we caused and we are looking forward to the files so that we get this case resolved.

Here is the list of files that we will be happy to see:

  1. A screenshot of your VS designer with the Chinese text.
  2. A screenshot of your web browser with the Chinese text.
  3. A screenshot of your PDF file with the Chinese text.
  4. Your original Chinese font.
  5. An excerpt from your original Chinese text.
  6. If possible, a screen with how this Chinese text should appear.
I am attaching screens with some text. Verify that they are correct.


All the best,
Rossen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 23 May 2007, 03:58 AM
Rossen,

Thanks for your detailed reply.
I sent the screenshot file to support@telerik.com.

The concept is good if using UTF font. But I suggest if it can use in this way:
1. on-line Report viewer can show Chinese or Aisan language without any additional fonts
2. We can install additional fonts in server so that the produced pdf is in correct display. Is it necessary for clients to install the fonts again in case clients can open pdf correctly?

Benson.
0
Vassil Petev
Telerik team
answered on 23 May 2007, 10:39 AM
Hi Benson,

Sorry for the extra loop, but could you resend the screenshots again, pls? We did not get them for some reason. We will also appreciate it if you address the other questions we have asked you. The information will help us address your latest inquiry.

Thanks in advance.


Kind regards,
Rob
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 26 May 2007, 12:48 AM
Screenshots has been resent on 2007/5/23.

Benson.
0
Vassil Petev
Telerik team
answered on 28 May 2007, 08:59 AM
Benson, we did not get the mail in question - please, resend it so that we can help you. Thanks in advance.


Sincerely yours,
Rob
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 28 May 2007, 09:58 AM
Rob,
 
Please find the attachment.
 
Benson.
0
Chavdar
Telerik team
answered on 28 May 2007, 04:34 PM
Hi Benson,

Thanks for the files. Up to your questions:

  1. We recently found a problem with IE6 which doesn't understand correctly the encoding of the received response. The issue is already fixed for the service pack which will be available later this week.  To ensure that this is the same problem, please, try to view the report either with IE7 or Firefox 2.x. The Arial Unicode font should be installed for the text to appear properly.
     
  2. The .pdf document which is generated by the Reporting tool embeds the fonts that are used so the users which view it do not have to install any fonts.

Best wishes,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 29 May 2007, 06:15 AM
Support,

Thanks for your answer.
I finally will choose the solution of creating pdf file and then loading the exported file to browser because clients are not necessary to install any fonts in their Windows.

Benson.
0
kungfu
Top achievements
Rank 1
answered on 17 Jul 2008, 05:22 PM
Vista has default support for Chinese Characters.
0
Frank Tien
Top achievements
Rank 1
answered on 30 Jul 2009, 08:51 AM
I have problem on printing chinese character issue. I am using 2008Q3 version of reporting. By using report viewer, chinese displayed flawlessly. However, when I press print button, the result of printing was all messy up. It looked something goes wrong between  the format process of making printing data and send to specific printer. Any input will be appreciated.
0
Steve
Telerik team
answered on 30 Jul 2009, 03:44 PM
Hello Frank Tien,

Try setting Arial Unicode MS as default font for the report. The print functionality through the viewer exports internally to pdf and then uses the Adobe Plugin to print it. As explained in the Design Considerations for PDF Rendering only unicode fonts are supported.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Benson
Top achievements
Rank 1
Answers by
Benson
Top achievements
Rank 1
Rossen Hristov
Telerik team
Vassil Petev
Telerik team
Chavdar
Telerik team
kungfu
Top achievements
Rank 1
Frank Tien
Top achievements
Rank 1
Steve
Telerik team
Share this question
or