Bug 429277 - mpage doesn't handle UTF-8 input
Summary: mpage doesn't handle UTF-8 input
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mpage
Version: 9
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-18 13:44 UTC by Horst H. von Brand
Modified: 2008-07-22 06:05 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-22 06:05:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A textfile (UTF-8) that shows the problem when mpage'd (105 bytes, text/plain)
2008-01-18 13:44 UTC, Horst H. von Brand
no flags Details
The postscript file generated here (4.74 KB, application/octet-stream)
2008-01-18 13:46 UTC, Horst H. von Brand
no flags Details

Description Horst H. von Brand 2008-01-18 13:44:39 UTC
Description of problem:
When doing, eg.

   mpage -1H UTF-8-file | lpr

the output for accented characters (Spanish printed here ;-) is gibberish.

Version-Release number of selected component (if applicable):
mpage-2.5.6-1.fc9

How reproducible:
Always

Steps to Reproduce:
1. mpage tstfile.txt > tstfile.ps
2. evince tstfile.ps
3.
  
Actual results:
tstfile.ps is gibberish

Expected results:
Correctly rendered text

Additional info:

Comment 1 Horst H. von Brand 2008-01-18 13:44:39 UTC
Created attachment 292140 [details]
A textfile (UTF-8) that shows the problem when mpage'd

Comment 2 Horst H. von Brand 2008-01-18 13:46:28 UTC
Created attachment 292141 [details]
The postscript file generated here

Comment 3 Tomas Smetana 2008-01-21 11:25:22 UTC
I don't think this has ever worked.  I'll try to look at the problem but the
required changes in the code would be nontrivial so I don't promise anything.

Comment 4 Horst H. von Brand 2008-01-22 22:01:31 UTC
Perhaps the simplest solution is to recode(1) into Latin-1...

Comment 5 Tomas Smetana 2008-01-23 06:55:43 UTC
(In reply to comment #4)
> Perhaps the simplest solution is to recode(1) into Latin-1...

No. It's not a solution.  The goal is NOT to lose the national characters.  As
for Spanish the recoding should go through ISO-8859-15 (supported by mpage) but
there are other languages with other alphabets where mpage fails.

Comment 6 Bug Zapper 2008-05-14 04:48:31 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Tomas Smetana 2008-07-22 06:05:46 UTC
Sorry.  I don't think I can fix this.


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