I have problem converting a file to PDF. I create the file with
echo ęąśćżńł > text
and convert:
enscript -O text -o - | ps2pdf - out.pdf
However, out.pdf
has an encoding problem:
conversionenscriptpdftext;unicode
I have problem converting a file to PDF. I create the file with
echo ęąśćżńł > text
and convert:
enscript -O text -o - | ps2pdf - out.pdf
However, out.pdf
has an encoding problem:
Best Answer
enscript
just does not supportUnicode
. You need to use a different tool such aspaps
to convert text toPostScript
. With--header
option an output.pdf
is similar to one produced withenscript
: