[Bug 191060] antiword gives user a hard time with Postscript and PDF output
bugzilla at redhat.com
bugzilla at redhat.com
Fri Apr 4 03:45:20 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: antiword gives user a hard time with Postscript and PDF output
https://bugzilla.redhat.com/show_bug.cgi?id=191060
michal at harddata.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status Whiteboard| bzcl34nup |bzcl34nup
Version|5 |8
Flag| |needinfo?
------- Additional Comments From michal at harddata.com 2008-04-03 23:45 EST -------
The current version of antiword supplies /usr/share/antiword/UTF-8.txt
mapping file and, AFAICS, this is good enough for a text output.
The moment one tries to use -p or -a a result is:
The combination PostScript and UTF-8 is not supported
followed by a usage message.
My current "wrapper" script which prevents the above from
happening looks like follows:
#!/bin/sh
# a shell wrapper to make 'antiword' usage reasonable on UTF-8 systems.
#
# Michal Jaegermann, michal at harddata.com, 2004/Nov/03
# - simplify and we may be printing on a Postcript printer
# - so do not use -i0, 2006/May/08
echo "$@" | egrep -q -- '-p|-a' && lang="env LANG=${LANG%.UTF-8}"
$lang antiword.bin "$@"
exit
and that works.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the fedora-triage-list
mailing list