Re: [alreq] Which set of digits should be used for Pashto?

We plan to have a section on ALReq about which set of numerals should be
used for different locales using Arabic script, but for now, I'd recommend
relying on what's in CLDR:

ps (arabext):
http://unicode.org/cldr/trac/browser/trunk/common/main/ps.xml#L775
fa (inherited to fa-af) (arabext):
http://unicode.org/cldr/trac/browser/trunk/common/main/fa.xml#L5170

The discrepancies you see in different browsers might be simply bugs or
some intended overrides.

↪ Shervin

On Thu, Aug 10, 2017 at 1:17 PM, ebraminio <notifications@github.com> wrote:

> While explaining different Arabic script languages digits set here
> <https://github.com/tesseract-ocr/langdata/issues/72#issuecomment-320902454>,
> I find out (123456.789).toLocaleString('ps') gives "۱۲۳٬۴۵۶٫۷۸۹" on
> Firefox and Safari but "123,456.789" on Chrome and MediaWiki
> <https://ps.wikipedia.org/wiki/Special:Statistics> seems agree on Chrome
> decision.
>
> Considering Pashto language is used with Persian on Afghanistan, if Chrome
> is right about Afghanistan set of digits, (123456.789).toLocaleString('
> fa-af') should give same result with Pashto on Chrome but it returns same
> result with Persian.
>
> So which set of digits is used on Afghanistan and which set of mentioned
> software should be fixed? And can this issue be settled down first on
> alreq, somehow, so it would help referencing it later on bug trackers?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/alreq/issues/136>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AA1dumdyOgtiUakA282XFYq7qUOBK520ks5sW2VzgaJpZM4Oz7ao>
> .
>


-- 
GitHub Notification of comment by shervinafshar
Please view or discuss this issue at https://github.com/w3c/alreq/issues/136#issuecomment-321691719 using your GitHub account

Received on Thursday, 10 August 2017 22:34:45 UTC