?
Solved

PDF conversion doesnot accepts Unicode characters.

Posted on 2009-04-25
2
Medium Priority
?
1,567 Views
Last Modified: 2013-12-17
I m using ITextSharp to conver html to pdf.
But its not suporting Unicode characters.
What can be the problem?


0
Comment
Question by:bedanand
1 Comment
 
LVL 39

Accepted Solution

by:
abel earned 2000 total points
ID: 24232116
Check out this link for how to use unicode with iTextSharp.  Main points to note (and that may not be clear from that post) are: the BaseFont must be initialized with the second parameter set to BaseFont.IDENTITY_H and the font that you use must support the Unicode characters (Arial Unicode MS is one of them).

To find out whether your current data is correctly read (i.e., the string containing your HTML) you can check it by hovering over while inside a breakpoint. If it is not read on correctly (the HTML I mean) you should check whether you read the file in as Unicode.

-- Abel --
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month17 days, 3 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question