Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 155901

Summary: Enscript doesn't support UTF-8.
Product: Red Hat Enterprise Linux 4 Reporter: Björn Augustsson <oggust>
Component: enscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-25 15:54:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Björn Augustsson 2005-04-25 15:22:02 UTC
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. 

/August.

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

How reproducible:
Always

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 15:53:07 UTC
*** Bug 155898 has been marked as a duplicate of this bug. ***

Comment 2 Tim Waugh 2005-04-25 15:54:20 UTC
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 ***