You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/04/22 15:48:58 UTC
[jira] [Commented] (PDFBOX-2771) COSString encodes Euro sign
wrongly
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org