CLDR Ticket #7895(accepted data)
Percent formatting in Arabic could use some bidi help
|Reported by:||roozbeh||Owned by:||shervin|
Arabic has a strong preference for the percent sign to appear at the left side of the number when using native digits.
Currently, formatting 1% would result in <U+0661, U+066A> which displays fine (with the percent sign on the left) with an explicit RTL direction, but unfortunately that doesn't happen all the time.
In various scenarios, the formatted percent value is displayed in an LTR context, or all by itself. Getting it right in an LTR context may be of less interest to CLDR, but when it's all by itself, we should display it correctly.
The problem is that neither the number nor the percent sign is a strong character, so the UBA's first strong algorithm (which is used in several platforms such as Android) gives it an LTR direction, which makes the percent sign go to the right side which is incorrect for Arabic.
Several solutions could be thought of. One would be adding an RLM before the format string.
- Cc shervinafshar@… removed
- Owner set to shervin
- Priority changed from assess to medium
- Status changed from new to accepted
- Milestone changed from UNSCH to 29