Bug 18896

Summary: he_IL: improvements for currency
Product: glibc Reporter: ricciba
Component: localedataAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: guyrutenberg, libc-locales
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: 2.24   
Host: Target:
Build: Last reconfirmed:

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:
  http://patchwork.sourceware.org/patch/11703/
Comment 3 Mike Frysinger 2016-04-15 17:43:00 UTC
i've pushed that patch now