The current version of FOP (1.0) does only support "ISO-8859-1" encoding for pdf actions like links. See PDFDocument.java
Created attachment 25963 [details] test case Test case with some polish characters
Created attachment 25964 [details] patch to utf-8 Changes the encoding to UTF-8
See patch
Hi, Thanks for your patch. This bug should remain open until it has actually been committed. Otherwise we will loose track of it. Vincent
(In reply to comment #3) > See patch A brief look at this patch shows that it simply changes the output encoding used for the PDFDocument.encode() function as follows: - public static final String ENCODING = "ISO-8859-1"; + public static final String ENCODING = "UTF-8"; I believe this is incorrect. PDF files employ three string types: (1) byte string (unspecified encoding) (2) ascii string (us-ascii encoding) (3) text string (either PDFDocEncoding or UTF-16BE) Since (1) the encode() mechanism is used in a variety of contexts and (2) no explicit use of UTF-8 is made by PDF, it would be incorrect to simply change the output encoding returned by encode(). See ISO/IEC 32000 (2008), Section 7.9.2 for details. This patch needs to be reworked to take these details into account. Furthermore, the description of this bug is not adequate: it really doesn't explain what the problem is: * is it the fact that the rendered text of the content of basic-link is not rendered with Polish characters? if so, then the problem is a font selection problem, not a character encoding problem * is it related to the character encoding used in the /Filespec dictionary for the link annotation? In any case, the present patch MUST NOT be applied.
see comment 5
resetting P2 open bugs to P3 pending further review
(In reply to comment #6) > see comment 5 Max, I am still awaiting your input as requested above. if I see no further input by April 30, I will close this bug due to lack of requested information. Regards, Glenn