|
i have the same problem with turkish characters...
Almost fixed in 2973. Indeed, the problem was at
tidy.setCharEncoding(Configuration.LATIN1); Some characters are replaced by # because FOP does not have a font containing those chars. We need to add such a font and configure JTidy to use it. Another problem is when XWiki is configured to ISO-8859-1, and the document contains xml char references (yz;). It seems that these references are lost somewhere in the process. Sergiu, are we going to close this issue for RC2?
I'm worried that we've commmitted code for it in the 1.0 branch and if we don't close it we won't have any jira issue representing the code we have committed. Thanks Well, it does output a PDF (no more stack traces). But the non-latin1 characters are missing from the output. We could close this bug as fixed, and make a new one regarding the missing chars.
Sounds the best to me. This should have been closed earlier. New issue is
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
..
public PdfExportImpl() {
...
tidy.setCharEncoding(Configuration.LATIN1); // need .UTF8
}
Now PDF generate.
But utf chars in result pdf was replaced by '#'. Maybe special fonts needed?