Bug 18896 - he_IL: improvements for currency
Summary: he_IL: improvements for currency
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: 2.24
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2015-08-29 10:02 UTC by ricciba
Modified: 2016-04-15 17:43 UTC (History)
2 users (show)

See Also:
Last reconfirmed:
fweimer: security-


Note You need to log in before you can comment on or make changes to this bug.
Description ricciba 2015-08-29 10:02:13 UTC
For the currency "New Israeli Shekel" (NIS), the currency locale in localedata is שח, which is not entirely correct. For all suggestions see reference below.

Either the actual unicode point <U20AA> ₪ NEW SHEQEL SIGN or the acronym ש״ח (<U05E9><U05F4><U05D7>) should be used. Note that NEW SHEQEL SIGN does not exist in charmaps/UTF-8, but I'm not sure if that means it has to be added or that it can't be used.

In addition to that, the currency symbol appears to the left of the number, but since Hebrew is right-to-left, it does not precede the number.

Concerning spacing the Wikipedia article states: "It [i.e. the symbol] is either not separated from the preceding number, or is separated only by a thin space."

Proposed changes:
1. currency_symbol   "<U20AA>" (or <U05E9><U05F4><U05D7>)
2. p_cs_precedes     0 
3. p_sep_by_space    0
4. n_cs_precedes     0
5. n_sep_by_space    0

Reference: https://en.wikipedia.org/wiki/Shekel_sign
Comment 1 Guy 2016-04-15 13:49:47 UTC
The NEW SHEQEL SIGN exists in charmaps/UTF-8 (using glibc 2.23).
Comment 2 Mike Frysinger 2016-04-15 16:20:27 UTC
this should be fixed for glibc-2.24.  i've posted a patch for it here:
Comment 3 Mike Frysinger 2016-04-15 17:43:00 UTC
i've pushed that patch now