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. Image for the cookie policy date

Cannot fill a cell with a special character

I'm trying to fill a cell in an xlsx file:

The values I'm using is "Ybañez"

And when I filled the excel file I got "Ybañez"

I'm filling it like Range["A1"].Text = "Ybañez"

Is there any encoding to specify? 

I have the same issue when I was trying to fill PDF

Thanks,
Panagiotis

1 Reply

AV Abirami Varadharajan Syncfusion Team May 19, 2017 11:29 AM UTC

Hi Panagiotis, 
 
Thank you for contacting Syncfusion support. 
 
Please find the details for your queries below. 
 
Queries 
Details 
I'm trying to fill a cell in an xlsx file: 
The values I'm using is "Ybañez" 
And when I filled the excel file I got "Ybañez" 
I'm filling it like Range["A1"].Text = "Ybañez" 
Is there any encoding to specify?  
 
 
We are unable to reproduce the issue. We have prepared a sample for your reference which can be downloaded from the following link. 
 
I have the same issue when I was trying to fill PDF 
We are not able to reproduce the reported issue, we have created a simple sample for your reference, and the sample can be downloaded from the following link. 
  
  
And, we suspect that the problem occurs while rendering Unicode characters in PDF document, so we have suggest you to use a Unicode support enabled fonts. please find the below code snippet to create and set the Unicode TrueType font in PdfLightTable.  
  
            //Set the Pdf font  
            pdfLightTable.Style.DefaultStyle.Font = new PdfTrueTypeFont(new Font("Arial", 12), true);  
  
 
 
Kindly modify both the samples and share us the issue reproducing sample. This will be helpful for us to provide prompt solution at the earliest. 
 
Regards, 
Abirami. 


Loader.
Live Chat Icon For mobile
Up arrow icon