I just wrote a PHP script to do just that a couple
of days ago at work. It's relatively simple, using Roozbeh Pournader's
conversion table. All you have to do is to read the input string byte by
byte, and output the appropriate UTF-8 codes in reverse order. The only
gotcha I faced was if there are latin characters (or numbers) in the middle of
the text, they should not be reversed. This is caused by the way
IranSystem encodes strings.
Ehsan
|
_______________________________________________ PersianComputing mailing list PersianComputing@lists.sharif.edu http://lists.sharif.edu/mailman/listinfo/persiancomputing