Edit ListBoxField issue - Chinese text show garbled characters

I’m using the latest Aspose.PDF v23.1, trying to edit the ListBoxField in code, but getting unexpected results. You will find that garbled characters are displayed in the ListBoxField. Below is my code
var document = new Document(“D:\test.pdf”);
foreach (var item in document.Form.Fields)
if (item is ListBoxField rbf)
rbf.Selected = 2;
document.Save(“D:\test_edit.pdf”);test.pdf (61.6 KB)

aspose error.png (19.1 KB)

A post was merged into an existing topic: Edit RadioButtonField issue