We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Error while exporting to PDF(Couldn't find information about the character. Unicode is not supported by this font.)

Thread ID:

Created:

Updated:

Platform:

Replies:

119887 Aug 10,2015 05:20 PM Sep 3,2015 11:51 PM ASP.NET MVC 5
loading
Tags: Grid
Surentslkajd
Asked On August 10, 2015 05:20 PM

Hi,

I am getting error while exporting the data from grid to PDF . Please help me how to fix it. The issue is its unable to decode  @"’" single quote. I replaced this with @"'" single quote from keyboard its working. I want to fix this kind of issue for all characters in all columns so please help me how to change globally.  Is there any way where we can set the setting global. If you need any more info about this bug please reply here.




Couldn't find information about the character. Unicode is not supported by this font. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Syncfusion.Pdf.PdfException: Couldn't find information about the character. Unicode is not supported by this font.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Isuriya Rajan [Syncfusion]
Replied On August 11, 2015 08:34 AM

Hi Sudheer,

We suggest you to enable the Unicode property as true in grid Exporting method.

exp.Export(obj, DataSource, "Export.pdf", false, false,true, "flat-saffron");



We have created a sample and it can be downloaded from the below location:

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/119887/Grid-645713872.zip

Please try the above sample and let us know if it helps you. If we misunderstood your query, please provide us more information regarding your requirements which will help us to provide the prompt solution at the earliest.

Regards,

Isuriya R



Surentslkajd
Replied On August 11, 2015 11:29 AM

Hi Sudheer,

We suggest you to enable the Unicode property as true in grid Exporting method.

exp.Export(obj, DataSource, "Export.pdf", false, false,true, "flat-saffron");



We have created a sample and it can be downloaded from the below location:

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/119887/Grid-645713872.zip

Please try the above sample and let us know if it helps you. If we misunderstood your query, please provide us more information regarding your requirements which will help us to provide the prompt solution at the earliest.

Regards,

Isuriya R



I have only this overload. Do I need to update the sync fusion version?. Please look at below code and guide me. Thank you for your response.

using Syncfusion.JavaScript.Models;
using Syncfusion.Pdf;
using System;
using System.Collections;

namespace Syncfusion.EJ.Export
{
    public class PdfExport
    {
        public PdfExport();

        public void Export(GridProperties gridmaodel, IEnumerable datasource, string fileName);
        public void Export(GridProperties gridmaodel, IEnumerable datasource, string fileName, bool isHideColumnIncude, bool isTemplateColumnIclude, string theme);
        public PdfDocument Export(GridProperties gridmaodel, IEnumerable datasource, string fileName, bool isHideColumnIncude, bool isTemplateColumnIclude, string theme, bool multipleExport);
        public void Export(GridProperties gridmaodel, IEnumerable datasource, string fileName, bool isHideColumnIncude, bool isTemplateColumnIclude, string theme, bool isLocalSave, string filePath);
        public PdfDocument Export(GridProperties gridmaodel, IEnumerable datasource, string fileName, bool isHideColumnIncude, bool isTemplateColumnIclude, string theme, bool multipleExport, PdfDocument document, string headerText);
    }
}

Isuriya Rajan [Syncfusion]
Replied On August 12, 2015 02:05 AM

Hi Sudheer,

We have fixed this issue and have included it in our Volume 2 v13.2.0.29 release. So if you are using our product version prior to v13.2.0.29, we suggest you to upgrade to our latest version in order to avoid the reported issue.

Please get back to us if you need any further assistance.

Regards

Isuriya R.



Surentslkajd
Replied On August 12, 2015 11:58 AM

Hi Sudheer,

We have fixed this issue and have included it in our Volume 2 v13.2.0.29 release. So if you are using our product version prior to v13.2.0.29, we suggest you to upgrade to our latest version in order to avoid the reported issue.

Please get back to us if you need any further assistance.

Regards

Isuriya R.



I have version 12.3 and I cannot update the dlls so please guide Is there anyway I can write code or script to fix this Issue. This Issue is critical one.

K Kalai Selvi [Syncfusion]
Replied On September 3, 2015 11:51 PM

Hi Sudheer,


We regretfully cannot provide custom patches or any proprietary information through the public forum. For our licensed customers who wish to receive a patch in an older version of our product suite, we recommend that you create a Direct Trac support ticket for this through your customer account. This is the only place where we can share such secure information. If you do not wish to pursue this through Direct Trac, then we would suggest that you upgrade to version 13.2.0.39 which is a public release and open to all customers and evaluators. Please let us know how you wish to proceed with this and we will gladly assist.


Regards,

Kalaiselvi


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;