[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hebrew support for wordtrans



El Sun, 18 Nov 2001 22:43:42 +0200, Yedidyah Bar-David
<didi@post.tau.ac.il> escribió:

> Hi
> 
> I wish to remind everyone, that the current output from the part
> that reads the babylon file keeps the exact order of the chars
> in the file, which is what I can call "reverse visual", which is
> identical to "logical" for hebrew-only text, but very different
> for mixed hebrew-english.
> The simple (but ugly) solution, to get correct output, is to
> reverse the output of the reader (trivial - I don't mind doing
> it), and then make the QT widget _not_ apply the bidi algorithm
> (something which I have no idea if is possible or easy - probably
> easy).

I don't think it's easy. The QHebrewCodec doesn't seem to have any
function to disable that.

Wait a minute! I've just found the QHebrewCodec manpage (I didn't find
before because I was searching for qrtlcodec, the name of the header). I
attach that manpage, so maybe someone can see something interesting.

The manpage says the following:
If you don't want any bidi reordering to happen during conversion, use the
"iso8859-8-i" codec, which assumes logical order for the 8bit string.

But I'm already using that codec, with the results you saw in the pictures
I sent in my previous message. Am I doing something wrong?

-- 
Ricardo Villalba
rvm@escomposlinux.org

qhebrewcodec.3qt.gz