Last Comment Bug 151374 - RFE: Arabic numeral behaviour should listen to the system setting, if any
: RFE: Arabic numeral behaviour should listen to the system setting, if any
Status: NEW
[oracle-nls]
:
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: Trunk
: x86 Windows 2000
: -- enhancement with 7 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on: 181711
Blocks: bidi_relnotes numbers Persian
  Show dependency treegraph
 
Reported: 2002-06-12 17:00 PDT by Kyae-Young Kim
Modified: 2011-05-22 12:41 PDT (History)
8 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Test case of 151374 (256 bytes, text/html)
2002-06-12 17:01 PDT, Kyae-Young Kim
no flags Details

Description Kyae-Young Kim 2002-06-12 17:00:13 PDT
Env : Mozilla 1.0, Windows 2000, locale is Arabic[Egypt]

Des : Numbers following Arabic text are always displayed in Hindi Numbers 
      no matter what the OS regional setting for Number is in Window 2000.

Reproducible step:   
    
    1) On the Windows Start menu -> Settings -> Control Panel. 
    2) Double-click the Regional Options icon, and then click the Number tab. 
    3) Standard digits set to "0123456789" and OK button
    4) Restart Mozilla and load the test case
    5) In Sample Text, numbers following Arabic text are displayed in Hindi.
    6) They should be displayed like "123-456-789"
Comment 1 Kyae-Young Kim 2002-06-12 17:01:12 PDT
Created attachment 87452 [details]
Test case of 151374
Comment 2 Simon Montagu :smontagu 2002-06-13 09:48:49 PDT
Tweaking the subject.

Currently the way to get this behaviour is to add

user_pref("bidi.numeral", 3);

to the preferences file, but I agree that on an OS where there is a system
setting we should listen to it.

See http://lxr.mozilla.org/seamonkey/source/modules/libpref/src/init/all.js#687
for the possible values of this pref.
Comment 3 Marcus Campbell 2002-09-05 03:19:35 PDT
*** Bug 166803 has been marked as a duplicate of this bug. ***
Comment 4 Behnam Esfahbod [:zwnj] 2006-08-07 00:53:30 PDT
Two features needed:
- Print numbers based on locale (this bug?)
- Parse numbers of all locales in numeric fields in Preferences, etc. (like glibc's printf/scanf %Id [google:glibc scanf locale])
Comment 5 Behnam Esfahbod [:zwnj] 2006-08-07 00:58:14 PDT
Uh, I just saw bug 252039.  The tracker bug for my prev post.

BTW, does system settings mean locale for unix systems?

Note You need to log in before you can comment on or make changes to this bug.