Skip to content

Commit 8a67016

Browse files
Benoit Lagaeitext-teamcity
authored andcommitted
Fix incorrect unicode form field names
DEVSIX-1357 Autoported commit. Original commit hash: [25a328277]
1 parent 6f40b2c commit 8a67016

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

itext/itext.forms/itext/forms/PdfAcroForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,11 +952,11 @@ private IDictionary<String, PdfFormField> IterateFields(PdfArray array, IDiction
952952
parentField = PdfFormField.MakeFormField(parentField.GetParent(), document);
953953
}
954954
}
955-
name = fieldName.ToUnicodeString() + "." + index;
955+
name = fieldName.ToString() + "." + index;
956956
index++;
957957
}
958958
else {
959-
name = fieldName.ToUnicodeString();
959+
name = fieldName.ToString();
960960
}
961961
fields.Put(name, formField);
962962
if (formField.GetKids() != null) {

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c4c121e6449ab8bc6dc49cecb8ae8b8627aa6d0b
1+
25a3282775b6be0b05aecd0eb5527d7bcaa202fc

0 commit comments

Comments
 (0)