Open Bug 151374 Opened 22 years ago Updated 2 years ago

RFE: Arabic numeral behaviour should listen to the system setting, if any

Categories

(Core :: Layout: Text and Fonts, enhancement)

x86
Windows 2000
enhancement

Tracking

()

People

(Reporter: kyae-young.kim, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [oracle-nls])

Attachments

(1 file)

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"
Attached file Test case of 151374
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.
Severity: normal → enhancement
Summary: Bidi : Numbers following Arabic text are always displayed in Hindi Numbers → RFE: Arabic numeral behaviour should listen to the system setting, if any
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 166803 has been marked as a duplicate of this bug. ***
Depends on: 181711
Blocks: numbers
Whiteboard: [oracle-nls]
Blocks: Persian
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])
Uh, I just saw bug 252039.  The tracker bug for my prev post.

BTW, does system settings mean locale for unix systems?
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
Assignee: mozilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: