Click here to Skip to main content
15,936,821 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hey people of the CP world :-),

I want to know if anybody can assist me with itextsharp that does not print special characters. The problem I am having is that I use ITextSharp to generate pdf documents, but special characters just gets ignore totally.

Like for instance I put in name and surname field: Jessië Strongfièld

On the pdf it just prints Jessi Strongfild.

Does anyone have an extension or some kind of fix around this?
Updated 1-Apr-14 23:32pm

I think this has something to do with Unicode. Convert the string to Unicode , before printing to a PDF .
Share this answer
Please refer the following Link
Share this answer
CBadger 4-Apr-14 9:46am    
I see now I also got that link so thanks. :-)
The solution was to ensure all the fonts were in the dictionary as they have the needed characters in there.

For example "Courier New.TFF" has the necesary character in and will recognize the special characters so just had to include a font that has the characters (In my case almost any one will do)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900