[Poppler-bugs] [Bug 103492] New: Wrong encoding when filling out a PDF form

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 27 19:09:19 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103492

            Bug ID: 103492
           Summary: Wrong encoding when filling out a PDF form
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: dreibh at simula.no

Evince and Okular (based on poppler) uses the wrong encoding when filling out a
PDF form.

How to reproduce:
- Get the official Chinese Visa Application Form from
http://www.china-embassy.org/eng/visas/fd/W020130830801798289342.pdf
- Open it in Evince
- Fill in a name (e.g. "Smith"). The entered text is displayed correctly.
- Click into another filed
- The previously entered name is displayed in wrong characters (wrong encoding
used?). E.g. "Smith" becomes "4NJUI".
- Saving and loading the PDF (with the entered text) also results in displaying
wrong characters
- Clicking into the name filed results in displaying the correct name ("Smith")

=> It seems that somewhere in Evince (or libpoppler?) the wrong encoding is
used for displaying non-active input fields.

Tested Ubuntu versions:
- Ubuntu 16.04
- Ubuntu 17.10

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171027/6f1330bd/attachment.html>


More information about the Poppler-bugs mailing list