I sent this to [EMAIL PROTECTED] a while back & it bounced. Dear
IGLU, whoever you are, PLEASE have an Email address.

Uli

Hi,

This is a fix to chartrans.c in antiword to make hebrew chars display
correctly:

241a242,247
> #define HEBREW
> #ifdef HEBREW
>               if (iChar > 1487 && iChar < 1515 ) { /* Hebrew */
>                       return iChar-1488+224;
>               }
> #endif /* HEBREW */

a neat script is :
$ cat ~sam/bin/hantiword
#!/bin/csh -f
antiword $1 | fribidi -charset 8859-8

Use "more" to view, since "less" considers hebrew non-displayable. Also,
use xterm  -fn heb6x13 to display.

I know this is primitive and that const-const can be optimised. It
works. It's late. This is my contribution to fighting Microsoft for the
night. "Veletif'eret Medinat Yisrael".

Sam
--
Sam (Uli) Freed


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to