2012-11-13 11:22:59 |
Manuel López-Ibáñez |
description |
Binary package hint: a2ps
"a2ps --encoding=NAME" supports ASCII, EUC-JP, HPRoman, IBM-CP437, IBM-CP850, ISO-8859-1 to -15, JOI8, MS-CP1250 and Macintosh.
But utf-8, the default text file encoding for ubuntu, is neither the default nor even supported. |
Binary package hint: a2ps
"a2ps --encoding=NAME" supports ASCII, EUC-JP, HPRoman, IBM-CP437, IBM-CP850, ISO-8859-1 to -15, JOI8, MS-CP1250 and Macintosh.
But utf-8, the default text file encoding for ubuntu, is neither the default nor even supported.
WORKAROUNDS:
* use iconv or recode to convert to a supported encoding:
recode UTF-8..Latin-1 | a2ps
* http://developer.berlios.de/projects/u2ps
However, it doesn't seem to be packaged in Debian/Ubuntu, and it requires adding some extra Perl libraries. The installer doesn't work out-of-the-box.
* paps, however, it does not support most features of a2ps. It cannot be used as a drop-in replacement.
* gnome-a2ps. Beware, it pulls lots of gnome libraries. |
|