Free Support Forum - aspose.com

Special characters in form field

Hi!

I have a problem with using special characters (German
characters) in form fields. When opening the
created PDF document, it looks fine, but when entering the field, the content becomes "destroyed".
Is there a workaround to use such characters?

Pdf
pdf1 = new Pdf(); Section sec1 = pdf1.Sections.Add(); FormField textBox = new FormField(); textBox.FormFieldType = FormFieldType.Text; textBox.FieldName = "Text"; textBox.FieldValue = "äüöß"; textBox.FormHeight = 12; textBox.FormWidth = 200; textBox.IsBordered = true; sec1.Paragraphs.Add(textBox); pdf1.Save("c:/temp/formfield.pdf");


Hi Daniel,

Thanks for using our products and sorry for the delay in response.

I tested the scenario and able to notice the same problem. For rectification, I logged this problem with ID: PDFNEWNET-33837 in our Issue Tracking System. We will further look into the details of this issue and will keep you updated via this forum thread on the status of correction.

We apologize for your inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33837) have been fixed in Aspose.Pdf for .NET 7.7.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.