Opened 7 years ago
Closed 7 years ago
#17484 closed enhancement (patchwelcome)
Calendar: display arabic numerals
Reported by: | robert_j | Owned by: | robert_j |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dojox | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Locale: ar-sa IE9 Win 7
I have a page hosting an umm al qura Calendar widget with the following in the head:
<meta http-equiv="x-ua-compatible" content="IE=edge" >
The months and days are all displayed correctly in arabic but the numbers for the years and days are still in English.
If I force the content to be IE7 it will display correctly.
See attached image
Attachments (1)
Change History (4)
Changed 7 years ago by
Attachment: | dojo_calendar.png added |
---|
comment:1 Changed 7 years ago by
Owner: | set to robert_j |
---|---|
Status: | new → pending |
Hmm, that's strange, well please attach a test case so I can debug it, thanks.
comment:2 Changed 7 years ago by
Status: | pending → new |
---|
After looking further into the issue it seems to be down to the way different versions of IE handle Digit Substitution in Windows and not an issue with the control itself.
When the "Use Native Digits" setting is set to "National" in Windows IE7 will substitute all digits with Arabic digits but IE9 no longer performs this substitution. Both Chrome and Firefox also don't perform any digit substitution.
If you create a page with a simple div containing numbers e.g. <div>123456789</div> and set the machines locale to Arabic, the "Use Native Digit" flag to "National" and display the page in IE9 you will notice the digits appear in Western/European? digits as expected. If you hit F12 and change the Document mode to IE7 you will notice the digits change to Arabic digits.
This is the same behaviour I was seeing with the calendar.
This bug can be closed.
Thanks
comment:3 Changed 7 years ago by
Component: | Dijit → Dojox |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Summary: | Dojo Calendar doesn't display arabic numerals in any document mode after IE7 → Calendar: display arabic numerals |
Type: | defect → enhancement |
OK, well I'll close it as "patch welcome" because it could still be an enhancement. We already have an Islamic calendar in dojox but it still uses the standard western digits.
IE 8 vs IE 7 Arabic locale Umm Al Quara