Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5512

PDRadioButton.setValue(..) does not work for non-ASCII values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.0.26
    • None
    • AcroForm
    • None
    • OpenJDK 8/Linux/x64, probably irrelevant

    Description

      When setting a value of a PDRadioButton programmatically by calling setValue(value), it works well if value is just ASCII characters, but for example "Universität" is encoded internally as "Universit#e4t", neither approach works (the 2nd throws an exception).

      The fix should write the correct encoded value, so that the respective options is displayed as checked in PDF viewers.

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            chemFelix Felix Rudolphi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: