I am trying to add a footer to a pdf document. The problem is that special characters like å,ä and ö are ignored in the generated pdf. The following code is used:
PdfFileStamp stamp = new PdfFileStamp(tempStream, docStream);
FontColor color = new FontColor(100, 100, 100);
FormattedText footerText = new FormattedText("Författäre", color, FontStyle.TimesRoman, EncodingType.Cp1252, false, 10);
stamp.AddFooter(footerText, 10);
stamp.Close();
The resulting pdf contains a footer with the text "Frfattre". Any ideas on why?