Bug 155901 - Enscript doesn't support UTF-8.
Enscript doesn't support UTF-8.
Status: CLOSED DUPLICATE of bug 81828
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: enscript (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Jay Turner
: FutureFeature
: 155898 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-04-25 11:22 EDT by Björn Augustsson
Modified: 2015-01-07 19:09 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-25 11:54:20 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 Björn Augustsson 2005-04-25 11:22:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.4) Gecko/20050318 Red Hat/1.4.4-1.3.5

Description of problem:
Enscript cannot print UTF-8 (or any other unicode encoding) files.

This also applies to previous versions of RHEL, as well as the current
beta of RHEL 4 update 1.

Seeing as UTF-8 is the default encoding in RHEL 3 and 4, that should probably
get fixed.

This is actually kind of a regression against RHEL 2.1, since that didn't 
have UTF-8 as the default, and hence you could print files made in the normal
way back then, and now you can't. 


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Open "vi"
2. Make a text file, containing a non-7-bit-ascii character of your choice.
   (My example: [Hmm, cannot enter it here, or I get an 5XX internal error
   from bugzilla...] anyway, an "a" with a ring above it)
3. enscript <file>

Actual Results:  A sheet of paper (if you had printing set up right) containing something like
(for the a-with-ring example above) <A with a tilde above it>\203<A with a circumflexover it><yen sign>.

Expected Results:  A sheet of paper with a proper (albeit non-7-bit) character on it.

Additional info:
Comment 1 Tim Waugh 2005-04-25 11:53:07 EDT
*** Bug 155898 has been marked as a duplicate of this bug. ***
Comment 2 Tim Waugh 2005-04-25 11:54:20 EDT
I think it should work to print the text file using 'lpr', thought.

But yes, enscript ought to support UTF-8.

*** This bug has been marked as a duplicate of 81828 ***

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