Hi Zeev, I have been giving this gentleman a hand with hebrevc - however, I have no idea how the function is supposed to behave. :) I can reproduce the behavior that he gets, but (not knowing *anything* about Hebrew) I do not know if this is the intended behavior. Can you shed any light on the situation? Thanks! --zak ----- Original Message ----- From: "Barak Shimoni" <[EMAIL PROTECTED]> To: "'Zak Greant'" <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:25 AM Subject: RE: using hebrevc with hebrew & english Hi, First I would like to thank you for your fast replay.... I will try to give you an examples of the problem: At this example I'm writing two lines in a textarea (right alignment). ------------------------------------------------------------------ | move to english אני מתחיל בעברית | | ואז שוב מסיים בעברית בשורה חדשה | ------------------------------------------------------------------ After using $heb_msg = hebrevc($msg) the message I see is: ------------------------------------------------------------------ | אני מתחיל בעברית move to english | | ואז שוב מסיים בעברית בשורה חדשה | ------------------------------------------------------------------ I saw that when I'm using english words at the end of a line which followed by another hebrew line, the english words at the mixed line is moving to the beginning of the line at the right - WAY? ____________________________________________________________________________ _____ At this example I have just replaced all the hebrew texts in <hebrew-n> so if you can not see hebrew at your mail system you will still be able to understand the example. ------------------------------------------------------------------ | move to english <hebrew syntax-1> | | <hebrew syntax-2> | ------------------------------------------------------------------ The result: ------------------------------------------------------------------ | <hebrew syntax-1> move to english | | <hebrew syntax-2> | ------------------------------------------------------------------ Regards, Barak Shimoni -----Original Message----- From: Zak Greant [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 6:56 PM To: Barak Shimoni Subject: Re: using hebrevc with hebrew & english Hi Barak, Could you send me a sample? --zak ----- Original Message ----- From: "Barak Shimoni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 7:50 AM Subject: using hebrevc with hebrew & english > Hi, > I have some problem using hebrevc() with mixed sentense > of hebrew & english. > > Text example from textarea (right-to-left): > <english-2><hebrew-1> > <hebrew-3> > > The text result after using hebrevc(): > <hebrew-1><english-2> > <hebrew-3> > > How can I solve this switching problem? > Regards, > Barak Shimoni. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]