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

CLDR Ticket #9976(closed spec: fixed)

Opened 5 months ago

Last modified 3 months ago

Document that - and + are syntax characters

Reported by: mark Owned by: mark
Component: numbers Data Locale:
Phase: spec-beta Review: kristi
Weeks: Data Xpath:
Xref:

Description

With a number format, a user could supply "-a'0'b 00.00" (as of a few releases ago). The first zero has to be quoted. But it would be equivalent to have "$'-a0b' 00.00", because the - wasn't a syntax character, until we made the semantic change in CLDR to allow replacement by the plus sign.

But by the action of formally changing in CLDR the minus to be a placeholder that we could swap out with a + sign, we've changed that. See http://unicode.org/cldr/trac/ticket/8732

So we need to document clearly in CLDR (and have ICU point to that documentation) that for number patterns:

'-'00.00

is not the same as

-00.00

Attachments

Change History

comment:1 Changed 4 months ago by mark

  • Phase changed from dsub to spec-beta
  • Priority changed from assess to medium
  • Type changed from unknown to spec
  • Milestone changed from UNSCH to 31

comment:2 Changed 4 months ago by emmons

  • Owner changed from anybody to mark
  • Status changed from new to accepted

comment:3 Changed 3 months ago by mark

  • Status changed from accepted to reviewing
  • Review set to kristi

comment:4 Changed 3 months ago by pedberg

  • Component changed from unknown to numbers

comment:5 Changed 3 months ago by kristi

  • Status changed from reviewing to reviewfeedback

The change looks good. So, I can close any time. (I'll close when you return with an answer to this follow up question)

I can see that this will provide clear guidance to developers/ICU, so that they'll know it will be substituted with actual symbol.

My question is when would linguists actually use the explicit '-'? They should be specifying the Symbols, so that the right symbol get substituted. But I can't think of examples, when they would use the explicit '-'.
If we had to tell the linguists about this ability for explicit '-'?

comment:6 Changed 3 months ago by mark

They shouldn't normally use the explicit one; it would have to be very unusual circumstances.

comment:7 Changed 3 months ago by mark

  • Status changed from reviewfeedback to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
Next status will be 'new'
Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.