Red Hat Bugzilla – Bug 429277
mpage doesn't handle UTF-8 input
Last modified: 2008-07-22 02:05:46 EDT
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):
Steps to Reproduce:
1. mpage tstfile.txt > tstfile.ps
2. evince tstfile.ps
tstfile.ps is gibberish
Correctly rendered text
Created attachment 292140 [details]
A textfile (UTF-8) that shows the problem when mpage'd
Created attachment 292141 [details]
The postscript file generated here
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.
Perhaps the simplest solution is to recode(1) into Latin-1...
(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.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Sorry. I don't think I can fix this.