Try adding <DIV DIR=RTL>
your code here </DIV> or echo "<DIV DIR=RTL>"; your codes here echo "</DIV>";
it will fix having
english text, dots, comma or brackets etc..
I managed to reverse a word, but I need to reverse a sentence, i.e. when you have space or comma between two arabic word. Problem with brakets ... when you reverse, you have to reverse brakets, but only if it's around an arabic sentence. You have to include dot at the end of the arabic sentences, not at the begining... and so on. I could try to list them all, but as it is certainly studied for BIDI, I would have liked to get the information, it will be easier. My class is based on UFPDF and if I manage to do something useful for all, I'll release it on the same licence as UFPDF. Regards Armelle Quoting Abdalla Alothman <abdalla at pheye dot net>:Asalamu alaikum (Peace) On Friday 28 October 2005 10:32, arn at scs-net dot org wrote: [...]I manage to write left to right arabic letters with the correct shape. I've still have a problem when you have ponctuation in the sentence. Do you have any analysis I can use ( or program written in anotherlanguage) soas to see how to deal with commas...What is the problem? Salam, Abdalla Alothman _______________________________________________ Developer mailing list Developer at arabeyes dot org http://lists.arabeyes.org/mailman/listinfo/developer |