<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong encoding when filling out a PDF form"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103492">103492</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Wrong encoding when filling out a PDF form
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dreibh@simula.no
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="http://www.china-embassy.org/eng/visas/fd/W020130830801798289342.pdf">http://www.china-embassy.org/eng/visas/fd/W020130830801798289342.pdf</a>
- 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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>