[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #7969(accepted data)

Opened 4 years ago

Last modified 19 months ago

add implicit directional mark to fa percentSign?

Reported by: enh@… Owned by: pedberg
Component: main Data Locale: fa
Phase: dsub Review:
Weeks: 0.1 Data Xpath:



the fa minusSign and plusSign have explicit LRMs, but the percentSign doesn't.

the output of an fa NumberFormat with the fa percentFormat uses fa digits (U+06fx, rather than the ar U+066x digits) and the ar/fa percentSign (U+066a). the fa digits are European Number (EN) rather than Arabic Number (AN), and the percent sign is European number Terminator (ET).

this means that if you try to render just the output of NumberFormat you'll get the visual order x%, but if interpolate the NumberFormat output into a wider string of fa text, you'll get %x because of the rest of the text's directionality. (so for example the fa equivalents of "74%" and "74% charged" would have the % on one side of the number in one case but the other side in the other case.)

my expectation is that you should always get the same visual order for a percentage. i assume that this is the reason that minusSign and plusSign already have implicit marks, and that it's a bug that percentSign [and, by extension, though no-one actually cares, perMille] should have implicit marks too.


Change History

comment:1 Changed 4 years ago by markus

  • Keywords android added
  • Weeks set to 0.1

comment:2 Changed 4 years ago by enh@…

this applies to ar too. (on Android TextView renders the ar equivalent as %x but Canvas.drawText renders it x%.)

comment:3 Changed 4 years ago by emmons

  • Owner changed from anybody to emmons
  • Phase changed from dsub to rc
  • Priority changed from assess to major
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 27

comment:4 Changed 4 years ago by emmons

  • Owner changed from emmons to pedberg

comment:5 Changed 3 years ago by shervin

  • Cc shervinafshar@… added

comment:6 Changed 3 years ago by pedberg

Also may need to fix % issues with ar, he in various environments

comment:7 Changed 3 years ago by pedberg

  • Phase changed from rc to dsub
  • Milestone changed from 27 to 28

comment:8 Changed 3 years ago by srl

  • Xref set to 7895

comment:9 Changed 3 years ago by shervin

  • Cc James_Lin@… added

comment:10 Changed 3 years ago by markus

From Elliott's description, I thought he was proposing to add LRMs. However, he added RLMs to the percent signs for ar & fa Android locale data, consistent with the discussion in ticket #7895.

comment:11 Changed 3 years ago by markus

  • Type set to data

comment:12 Changed 3 years ago by srl

  • Status changed from assigned to accepted

comment:13 Changed 3 years ago by pedberg

Nowhere here does it say what the desired presentation is - should the ARABIC PERCENT SIGN be visually to the left of a string of 06F0-06F9 digits (as it should for a series of 0660-0669 digits), or should it be visually to the right?

comment:14 Changed 3 years ago by pedberg

  • Milestone changed from 28 to 29

No response, moving to 29

comment:15 Changed 3 years ago by emmons

  • Milestone changed from 29 to upcoming

Automatic move of all 29 -> upcoming

comment:16 Changed 19 months ago by jungshik

ticket:9040 resolved this issue in a different way. I guess this had better be marked as a dupe of that ticket or just closed.


Add a comment

Modify Ticket

as accepted

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.