[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Perl impeletion of bidi
- To: foo bar <foobar(at-nospam)hotmail.co.il>
- Subject: Re: Re: Perl impeletion of bidi
- From: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>
- Date: Thu, 20 Sep 2001 00:28:36 +0300 (IDT)
- Cc: Linux-IL mailing list <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <9F0C6ACEE036BAB46B29CBC911D4A967@foobar.hotmail.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Thu, 20 Sep 2001, foo bar wrote:
> You right. It's easy then I expected it to be. But, how do I implement this? (I'm not a
> REGEX expert - can't put hands on a quick tutor - do you know one?)
> For English, there is a requirement for <DIV align="left">, and for Hebrew - <Div
> align="right"><font dir=rtl> - I know, one element can be omitted, but that's doesn't
> metter.
No. Need to use 'align'. Simply put 'dir="rtl"' or 'dir=ltr"' on some html
element near-by (e.g: a table cell).
>
> Also, for HTML support - is there a way to ignore HTML elements at all? meaning, that if
> paragraph stars with <a href="">aaa</a>, the 'aaa' wont control the direction (in Hebrew
> paragraph follows...)
This is something that your parser should implement. I'm sure that perl
has some html tokenizers or some other modules to help you parse html
code.
>
> About Visual Hebrew - It's a dead body. We all need to stop support this, nowdays any
> browser support iso-8859-8-i, including Mozi and Konqi.
I'd love to. But have you ever tried running one of the above two browsers
on a computer with 32MB RAM? (hint: this is one way to make the disk work
:-( )
--
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il