#608482 PDF properties are (possibly) stored in UTF8 encoding

Package:
libtiff-tools
Source:
tiff
Description:
TIFF manipulation and conversion tools
Submitter:
Giuseppe Sacco
Date:
2014-10-29 13:51:11 UTC
Severity:
minor
#608482#5
Date:
2010-12-31 09:49:12 UTC
From:
To:
Hi,
I am using a computer in utf8 locale, i.e., my terminal settings is utf8
and my locale is utf8. In this environment I convert a tiff file in pdf
and set a few properties (tile, author) as arguments of tiff2pdf
command.

The created PDF include these strings in UTF8, so that evince, and
acrobat reader do not show them correctly in their properties window.

Bye,
Giuseppe

#608482#10
Date:
2014-10-29 13:47:39 UTC
From:
To:
i believe this is mostly an issue with the documentation. The man page
should clarify that encoding conversion is not supported. PDF info
boxes seems to requires Latin-1.

$ echo françois | iconv -f utf-8 -t latin1 > out.txt
$ tiff2pdf -c francois out.tif -o out.pdf
-> use your favorite text editor on out.pdf and replace 'francois'
with contents from 'out.txt'
$ pdfinfo out.pdf
[...]
Creator:        françois
[...]
$ echo $LANG
en_US.UTF-8