On Tue, 25 Dec 2001, Diego G. Iastrubni wrote:

> On 2001 December 24 á,Monday 16:53, Tzafrir Cohen wrote:
> > Hi
> >
> > On Thu, 20 Dec 2001, Diego G. Iastrubni wrote:
> > > Hi linux users!
> > >
> > > There were a few questions about writing in hebrew under evolution. I
> > > made this, here arethe steps I made:
> > >
> > > 1) on the script that start X: LC_CTYPE=he_IL biditext gnome-session
> >
> > This means that the whole gnome session will run with biditext (including
> > any web browser)
> >
> > > 2) on evolution I made a new charset: iso8859-8. (unrecognized)
> >
> > Note that mail should be marked as ISO-8859-8-i , not ISO-8859-8
> >                                              ""
> >
> > > 3) please be sure that you can change the keyboard layout...
> > > 4) on gnome-cc html-viewer, I put a hebrew font. Mine is arial. The same
> > > on Theme selector. 5) Send the mail as unicode.
> >
> > As unicode? Will that be UTF-8? Will the resulting message be indeed
> > UTF-8?
> >
> > > now you can type in hebrew and see it.
> > >
> > > I managed tosee hebrew even without the LC_CTYPE, I suppose it uses
> > > unicode. As for message itself, I could not read it OK without LC_CTYPE.
> >
> > You will probably have a hard time typing hebrew without setting LC_CTYPE
> > (or LANG) to he_IL .
> do this test: run evolution without LC_CTYPe, and it will write in the subject at 
>least.
> funny I thought that gtk usrs ascii or whatever 8 bit I/O....

Yes, but XLib represents symbols from key-presses as 32bit codes. The
translation from this to the 8bit in gtk 1.2 "prints" nothing in case that
those symbols are not valid characters in the current charset.

Newer libraries don't rely on this rutine of X and do the conversion by
themselves. Thus mozilla, QT (>= 2.3) and gtk2 don't have this problem.

> Cool. How do I get biditext not lo be loaded wit ha specific program?

If you can set the command that launces this program, then unset (or
nullify) the value of LD_PRELOAD. Otherwise, I'm not sure.

Keep in mind that KDE also has a component architechture that allows for
several processes to easily display in one application window. It also
plays games with kdeinit.

> (konqueror,
> mozilla, galleon etc?). Actually it seems that the only difference will be that 
>visual sites will now
> be logical and logical will be visual (instead of 8859-8 use 8859-8-i). But reality 
>lughts at your face.
>

It is not that simple. Applying the bidi algorithm to visual Hebrew
doesn't give you exactly logical Hebrew.

>
> > However, there seems to be one major problem: it seems that every word is
> > reversed seperately. As if evolution prints eny word separatly to the
> > screen.
> Seen that on xmms when run with LC_CTYPE, without it is OK.

Strange...

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
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