Deal with Unicode data

Technical support for Spire.DataExport

Moderators: iceblue support, DataExport, Manager

Deal with Unicode data

Postby LijuanWu_Spire » Tue Aug 28, 2012 7:12 pm

I used pdfDocument to write out data from SQL Server database. I set the font to be "Lucida Sans Unicode" or "Arial Unicode MS". But sometimes I got the error says "the font didn't support unicode". What should I do to prevent it from happening since I cannot predict what kind of data user will input. But I really want to just have a way to show the information correctly when creating pdf with spire. It's fine if we can strip them before passing to the drawing in pdf page. Please help. As you can see I have been posting so many questions when I was evulate your product. I have to make decision to buy your product or not.
LijuanWu_Spire
 
Posts: 14
Joined: Tue Aug 07, 2012 6:30 pm

Re: Deal with Unicode data

Postby amy.zhao » Wed Aug 29, 2012 9:58 am

Hi LijuanWu_Spire,

I am sorry that spire.pdf don't support the function at present. We will add the function into spire.pdf in the futrue. But you can use a font which can support all kinds of data.

Best wishes.
Amy
e-iceblue support
User avatar
amy.zhao
 
Posts: 2195
Joined: Wed Jun 27, 2012 8:50 am

Re: Deal with Unicode data

Postby LijuanWu_Spire » Wed Sep 05, 2012 7:53 pm

I found a solution. I simply removed all the special charaters from db level when creating pdf with Spire.
LijuanWu_Spire
 
Posts: 14
Joined: Tue Aug 07, 2012 6:30 pm


Return to Spire.DataExport

Who is online

Users browsing this forum: No registered users and 0 guests

cron