Hi all,
I just found something cool in Firefox which I had not come across before, and thought some of you guys might not know it as well. As far as I can tell this is related to Gecko, so it must affect all Mozilla based applications, though I have not tested it anywhere except Firefox 1.0.
The default rendering behavior for numbers appearing inside Persian text in Mozilla is to show them as Latin digits (1 2 3 ...), though in IE it depends on the context (whether the direction of the containing text is rtl or ltr.) To make Firefox respect the direction of the text in this regard, you can add the following line to your user.js file:
user_pref("bidi.numeral", 1);
which sets the number rendering mode to "context." This enables ASCII digits entered inside Persian text to be rendered as Persian numbers (Û Û Û ...) Of course this does not affect the behavior of rendering numbers explicitly entered using Unicode character codes.
FWIW, Ehsan
_______________________________________________ PersianComputing mailing list PersianComputing@lists.sharif.edu http://lists.sharif.edu/mailman/listinfo/persiancomputing