This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] Removed redundant data for LC_MONETARY


Akhilesh Kumar <akhilesh.k@samsung.com> wrote:

> Reference is taken from 
> https://en.wikipedia.org/wiki/Indian_numbering_system
> https://en.wikipedia.org/wiki/Indian_rupee
>
> [BZ #21836]

[...]

> diff --git a/localedata/locales/hi_IN b/localedata/locales/hi_IN
> index 05b8918..1841201 100644
> --- a/localedata/locales/hi_IN
> +++ b/localedata/locales/hi_IN
> @@ -76,19 +76,21 @@ LC_MONETARY
>  % These are generated based on XML base Locale definition file
>  % for IBM Class for Unicode/Java
>  %
> -int_curr_symbol       "<U0049><U004E><U0052><U0020>"
> +int_curr_symbol       "INR "
>  currency_symbol       "<U20B9>"
> -mon_decimal_point     "<U002E>"
> -mon_thousands_sep     "<U002C>"
> -mon_grouping          3
> +mon_decimal_point     "."
> +mon_thousands_sep     ","
> +% https://en.wikipedia.org/wiki/Indian_numbering_system
> +mon_grouping          2,3

anp_IN.UTF-8..../locales/hi_IN:84: LC_MONETARY: syntax error
LC_MONETARY: field `mon_grouping' not defined

>  positive_sign         ""
> -negative_sign         "<U002D>"
> +negative_sign         "-"
>  int_frac_digits       2
>  frac_digits           2
> +% https://en.wikipedia.org/wiki/Indian_rupee
>  p_cs_precedes         1
> -p_sep_by_space        1
> +p_sep_by_space        0
>  n_cs_precedes         1
> -n_sep_by_space        1
> +n_sep_by_space        0
>  p_sign_posn           1
>  n_sign_posn           1
>  %
-- 
Mike FABIAN <mfabian@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]