You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2004/09/01 09:59:30 UTC
DO NOT REPLY [Bug 30983] New: -
The wrong pdf document encoding
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30983
The wrong pdf document encoding
Summary: The wrong pdf document encoding
Product: Fop
Version: 0.15
Platform: PC
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: pdf renderer
AssignedTo: fop-dev@xml.apache.org
ReportedBy: forevertraveller@hotmail.com
I create a xsl-fo file that includes <fo:basic-link /> element and the
attribute "external-destination" includes the international charchater and the
normal ascii character.
After rendering, when I place the mouse over the hypertext and the URL is
displayed. But only the normal ascii character can be displayed right and the
international character is replaced with the letter "?". Ater I click the url,
IE tells me that the resource is unavailable.
Not like the content in the word area, the value of the URL is directly
outputted ater encoded with PDFDocument.ENCODING.
When I open the pdf file with UltraEdit, the infomation of url is shortened.
In file org.apache.fop.pdf.PDFDocument.java,
I change
public static final String ENCODING = "ISO-8859-1";
to
public static final String ENCODING = "UTF-8";
All are OK.
This shows that FOP do not support the international situation competely.Right?