You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Martin Koegler (JIRA)" <ji...@apache.org> on 2011/01/23 18:39:43 UTC

[jira] Issue Comment Edited: (PDFBOX-945) PDFBOX may not depend on plattform encoding

    [ https://issues.apache.org/jira/browse/PDFBOX-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985370#action_12985370 ] 

Martin Koegler edited comment on PDFBOX-945 at 1/23/11 12:38 PM:
-----------------------------------------------------------------

Patch 01:

Convert  initialiser strings to a byte array using ISO-8859-1.

A helper class is introduced, as getBytes with an encoding my throw UnsupportedEncodingException, which is not allowed for initialiser.

      was (Author: e9925248):
    Convert  initialiser strings to a byte array using ISO-8859-1.

A helper class is introduced, as getBytes with an encoding my throw UnsupportedEncodingException, which is not allowed for initialiser.
  
> PDFBOX may not depend on plattform encoding
> -------------------------------------------
>
>                 Key: PDFBOX-945
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-945
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Martin Koegler
>         Attachments: 01-static-init-encoding.patch, 02-encoding.patch
>
>
> The pdf specification states, that PDFs use an ASCII compatible, 8 bit characterset.
> PDFBOX uses on various places the plattform encoding to convert bytes from/to strings.
> On JREs with an non ASCII compatible plattform encoding (there are such systems out there), this will break pdfbox.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.