You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 00:06:34 UTC

[jira] [Updated] (PDFBOX-159) Field renaming character set problem

     [ https://issues.apache.org/jira/browse/PDFBOX-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson updated PDFBOX-159:
-------------------------------
    Affects Version/s: 0.7.0

> Field renaming character set problem
> ------------------------------------
>
>                 Key: PDFBOX-159
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-159
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 0.7.0
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1482334
> Originally submitted by mmajis on 2006-05-05 02:30.
> If I take an XFA PDF, remove the XFA form, rename one
> of the AcroForm fields and open the resulting PDF in
> Acrobat, the field name is garbled.
> To begin with, it seems the field name is UTF-16BE
> encoded. PDFBox writes the new /T entry in ISO-8859-1
> since it finds no character values larger than 255. if
> I change the source code to write UTF-16BE with the two
> prefix bytes 0xFF and 0xFE (not sure of the byte order
> here), the field name shows correctly in Acrobat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)