Bug 70057 - a2ps exits with unknown encoding `utf-8'
a2ps exits with unknown encoding `utf-8'
Product: Red Hat Public Beta
Classification: Retired
Component: a2ps (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
Blocks: 65252 67217
  Show dependency treegraph
Reported: 2002-07-29 15:26 EDT by Jim Wiedman
Modified: 2011-05-26 15:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-05 06:16:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jim Wiedman 2002-07-29 15:26:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
Gecko/20020618 Netscape/7.0b1

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):

How reproducible:

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.

Additional info:
Comment 1 Gene Czarcinski 2002-08-01 17:52:13 EDT
verified on 7.3.93
Comment 2 Tim Waugh 2002-08-05 04:48:09 EDT
Which locale are you using?
Comment 3 Gene Czarcinski 2002-08-05 05:12:16 EDT
US, English.

I just checked and LANG=en_US.UTF-8
Comment 4 Tim Waugh 2002-08-05 05:40:39 EDT
Well, a2ps doesn't support UTF-8 yet.  Does it mostly work if you put: 
utf-8     iso1 
at the end of /usr/share/a2ps/encoding/encoding.map?
Comment 5 Gene Czarcinski 2002-08-05 05:58:59 EDT
works for me but I hope that does not screw anyone else
Comment 6 Tim Waugh 2002-08-05 06:16:35 EDT
It's the behaviour that previous versions (before the automatic-encoding 
patch) had at least. 
Fixed package is 4.13b-24.
Comment 7 Jay Turner 2002-08-05 11:32:08 EDT
Fix confirmed with a2ps-4.13b-24.
Comment 8 Michel Alexandre Salim 2011-05-26 08:33:29 EDT
*** Bug 706666 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.