When creating a simple PDF document with Aspose.PDF 20.10 and setting the value to e.g. “Lyoner Straße 123” the value is displayed in Acrobat Reader as “Lyoner Straûe 123” (if the highlighting of PDF form fields is activated, which it is by default, I think).
Strangely the issue does not occure if the value contains e.g. an additional “ü” (German Umlaut for ue).
Example Code:
public void TestAspose()
{
Aspose.Pdf.Document pdfdoc = new Aspose.Pdf.Document();
Page page = pdfdoc.Pages.Add();
TextBoxField mrnBox1 = new TextBoxField(pdfdoc, new Aspose.Pdf.Rectangle(275, 540, 440, 558));
mrnBox1.Value = “Lyoner Straße 1234”;
pdfdoc.Form.Add(mrnBox1, 1);
TextBoxField mrnBox2 = new TextBoxField(pdfdoc, new Aspose.Pdf.Rectangle(275, 520, 440, 538));
mrnBox2.Value = “Merkwürdige Straße 1234”;
pdfdoc.Form.Add(mrnBox2, 1);
pdfdoc.Save(“c://TMP//Fillable_PDF_Form.pdf”);
}
Here the resulting test document:
Fillable_PDF_Form.pdf (49.1 KB)