> Date: Sun, 27 Mar 2005 21:31:55 +0430 > From: Ehsan Akhgari <[EMAIL PROTECTED]> > Subject: Number display in Firefox > To: Persian Computing <firstname.lastname@example.org> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > 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.
You can do it more easily by entering about:config at location bar. _______________________________________________ PersianComputing mailing list PersianComputing@lists.sharif.edu http://lists.sharif.edu/mailman/listinfo/persiancomputing