Red Hat Bugzilla – Bug 70057
a2ps exits with unknown encoding `utf-8'
Last modified: 2011-05-26 15:20:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
Description of problem:
When I type a2ps and any option (but --help), the program quits with
the following error message:
a2ps: unknown encoding `utf-8'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enter a2ps at the prompt.
Actual Results: Only the error message. No postscript is produced.
Expected Results: I expected postscript data to be sent to the printer.
verified on 7.3.93
Which locale are you using?
I just checked and LANG=en_US.UTF-8
Well, a2ps doesn't support UTF-8 yet. Does it mostly work if you put:
at the end of /usr/share/a2ps/encoding/encoding.map?
works for me but I hope that does not screw anyone else
It's the behaviour that previous versions (before the automatic-encoding
patch) had at least.
Fixed package is 4.13b-24.
Fix confirmed with a2ps-4.13b-24.
*** Bug 706666 has been marked as a duplicate of this bug. ***