I have just upgraded from a previous version (with no
version number in the jar) to the current version
1.0.2. This resulted in PDFDoclet generating PDF files
with incorrect characters. This usually indicates that
the source files are read with the wrong encoding.
I specify encoding in the ant task like this:
<javadoc
doclet="com.tarsec.javadoc.pdfdoclet.PDFDoclet"
docletpath="${tools.dir}/lib/pdfdoclet/pdfdoclet.jar"
sourcepath="${src.dir}" packagenames="dk.*"
additionalparam="-pdf ${doc.dir}/api.pdf
-config pdfdoclet.properties" private="no"
encoding="iso-8859-1">
<classpath refid="classpath"/>
</javadoc>
The above worked fine in the previous version - is the
encoding attribute not respected anymore? Or do I have
to do it another way?
Have searched in support and bug requests but cannot
find the answer.
Info: The above behaviour with incorrect characters
occurs also in the JavaDoc generated HTML files if I do
not specify encoding. So, it seems like PDFDoclet does
not respect the encoding.
Tahnk you,
René
Logged In: YES
user_id=485290
Thanks for your feedback. I'm not aware of a change that
would cause that (not an intentional change). But there have
been changes to allow to include embedded fonts or support
asian languages, so one of these might be the source of your
problems.
Can you give a more specific description of what kind of
characters you use that are not handled correctly? Is it
possible to attache a sample source file or something to
reproduce the bug?