Fw: using hebrevc with hebrew & english
| From: | Zak Greant | Date: | Tue, 10 Jul 2001 19:46:17 +0000 |
| Subject: | Fw: using hebrevc with hebrew & english | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59605@lists.php.net to get a copy of this message | ||
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" <Barak@ceragon.com>
To: "'Zak Greant'" <jag@nucleus.com>
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:jag@nucleus.com]
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" <Barak@ceragon.com>
To: <zak@php.net>
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.