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

Maruan Sahyoun commented on PDFBOX-2771:
----------------------------------------

I committed a change to PDFDocEncoding in [ https://svn.apache.org/r1675345 ] 
but forgot the commit message so that doesn't show up here. This provides the 
expected result
{code}
   COSString{€}
{code}

> COSString encodes Euro sign wrongly
> -----------------------------------
>
>                 Key: PDFBOX-2771
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2771
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Maruan Sahyoun
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> When setting the value of COSString to the Euro sign the encoding is wrong
> {code}
>     COSString string = new COSString("€");
>     System.out.println(string);
> {code}
> produces this output
> {code}
>     COSString{¬}
> {code}
> whereas the same code using 1.8 produces the correct result
> {code}
>     COSString{€}
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to