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

Encoding problem: PDVariableText.setValue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AcroForm
    • Labels:

      Description

      [imported from SourceForge]
      http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1483756
      Originally submitted by bbartke on 2006-05-08 04:50.

      When assigning a value to PDField "AI_PLZ_ORT"
      containing a german "Umlaut" (e.g. a/o/u-dieresis ->
      äöü) acrobat reader is displaying a cedilla instead of
      a udieresis. But if you select the Field (click into)
      the the value is show in the right encoding.
      A \374 in PDFDocEncoding (udieresis) is inserted and a
      \374 in MacRomanEncoding (cedilla) is shown.
      The PDF (orig.pdf) has been created on a Mac and the
      Java application to modify the PDF runs under Windows
      XP (PDFUtil.java, PDFUtil.class)


      javac -cp lib/PDFBox-0.7.2.jar -source 1.3 -target 1.3
      PDFUtil.java
      java -cp lib/PDFBox-0.7.2.jar;. PDFUtil

      [attachment on SourceForge]
      http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1483756&file_id=177251
      pdfbox.zip (application/zip), 159358 bytes

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: