Olivier Crameri wrote:
Hi everyone,

I am writing a java software which outputs pdfs via FOP and an xslt stylesheet. Basically the same functionality and the same code as showed in the ExampleObj2PDF.java tutorial.

I am getting some troubles with accentuated letters. The accentuated characters that are present in the xslt stylesheet are generated perfectly in the pdfs. However, accentuated letters generated as sax events output garbage.

Here is an example of non working accents:

handler.element("accents", "��� ���");

I don't understand why it doesn't work. I already double-checked that my java class is well encoded in utf-8.

This might be the problem. The encoding of the java source must match your file.encoding (See System.getProperties())


--
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to