[Bug localedata/23791] New: Wrong monetary format for ca_ES locale

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] New: Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

            Bug ID: 23791
           Summary: Wrong monetary format for ca_ES locale
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: sergi at koolpi dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

In Catalan language the monetary numbers are formatted as "1.200,00€" [1] but
acording to the locale definition they are formated as "€ 1200,00". See:

(nclone) pokoli@archy » python
Python 3.7.0 (default, Sep 15 2018, 19:13:07)
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'ca_AD.UTF-8'
>>> locale.currency(1234)
'€ 1234,00'


I'm using ca_AD but it inherits the definition from ca_ES

CLDR[2]  has the following definition:

<currencyFormat type="standard">
    <pattern>#,##0.00 ¤</pattern>
</currencyFormat>
<currencyFormat type="accounting">
    <pattern>#,##0.00 ¤;(#,##0.00 ¤)</pattern>
</currencyFormat>

[1]
https://www.uoc.edu/portal/ca/servei-linguistic/convencions/escriptura-numerals/index.html
[2] http://unicode.org/cldr/trac/browser/trunk/common/main/ca.xml#L5548

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #1 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
Created attachment 11344
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11344&action=edit
Patch to fix the issue

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #2 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
I've uploaded a patch that copies the definition from es_ES as we normally use
the same numeric format that in Spanish.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Sergi Almacellas Abellana <sergi at koolpi dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11344|0                           |1
        is obsolete|                            |

--- Comment #3 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
Created attachment 11345
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11345&action=edit
patch_v2(improved commit msg)

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #5 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
On 10/18/18 8:10 PM, keld at keldix dot com wrote:> Looks like the CLDR def is
wrong, using . as decimal point and , as thousands
> operator.
> Or am I wrong in reading CLDR formats?

. means decimal point in the caracter and , means thousand separator. See:

http://cldr.unicode.org/translation/number-patterns

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #4 from keld at keldix dot com <keld at keldix dot com> ---
Looks like the CLDR def is wrong, using . as decimal point and , as thousands
operator.
Or am I wrong in reading CLDR formats?

best regards
keld

On Thu, Oct 18, 2018 at 09:45:29AM +0000, sergi at koolpi dot com wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=23791
>
>             Bug ID: 23791
>            Summary: Wrong monetary format for ca_ES locale
>            Product: glibc
>            Version: unspecified
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: P2
>          Component: localedata
>           Assignee: unassigned at sourceware dot org
>           Reporter: sergi at koolpi dot com
>                 CC: libc-locales at sourceware dot org
>   Target Milestone: ---
>
> In Catalan language the monetary numbers are formatted as "1.200,00???" [1] but
> acording to the locale definition they are formated as "??? 1200,00". See:
>
> (nclone) pokoli@archy » python
> Python 3.7.0 (default, Sep 15 2018, 19:13:07)
> [GCC 8.2.1 20180831] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL, '')
> 'ca_AD.UTF-8'
> >>> locale.currency(1234)
> '??? 1234,00'
>
>
> I'm using ca_AD but it inherits the definition from ca_ES
>
> CLDR[2]  has the following definition:
>
> <currencyFormat type="standard">
>     <pattern>#,##0.00 ¤</pattern>
> </currencyFormat>
> <currencyFormat type="accounting">
>     <pattern>#,##0.00 ¤;(#,##0.00 ¤)</pattern>
> </currencyFormat>
>
> [1]
> https://www.uoc.edu/portal/ca/servei-linguistic/convencions/escriptura-numerals/index.html
> [2] http://unicode.org/cldr/trac/browser/trunk/common/main/ca.xml#L5548
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #6 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
On 10/18/18 8:10 PM, keld at keldix dot com wrote:> Looks like the CLDR def is
wrong, using . as decimal point and , as thousands
> operator.
> Or am I wrong in reading CLDR formats?

. means decimal point in the character and , means thousand separator. See:

http://cldr.unicode.org/translation/number-patterns

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #7 from keld at keldix dot com <keld at keldix dot com> ---
I see. I think this is counter-intuitive. using . for the
decimal point, which internationally is the , - and using , for the
thousands separator, which internationally as per ISO standards is the .
- or a space. This is only intuitive to English-speaking people.
But what would you expect from Unicode Inc.

best regards
keld

On Thu, Oct 18, 2018 at 09:01:44PM +0000, sergi at koolpi dot com wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=23791
>
> --- Comment #6 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
> On 10/18/18 8:10 PM, keld at keldix dot com wrote:> Looks like the CLDR def is
> wrong, using . as decimal point and , as thousands
> > operator.
> > Or am I wrong in reading CLDR formats?
>
> . means decimal point in the character and , means thousand separator. See:
>
> http://cldr.unicode.org/translation/number-patterns
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Joan Montané <jmontane at softcatala dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmontane at softcatala dot org

--- Comment #8 from Joan Montané <jmontane at softcatala dot org> ---
Hi,

Current v34 CLDR [1] fixes Catalan currency format: #,##0.00 ¤

Please, note space between number and currency sign ¤ (usually €)

Please, do not copy es_ES definition, but fix ca_ES. They are different
languages and we have ca_AD, ca_FR, and ca_IT which inherit ca_ES definitions
and there are no related with es_ES.



[1] http://www.unicode.org/cldr/charts/34/summary/ca.html#3968

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #9 from Joan Montané <jmontane at softcatala dot org> ---

Note: eu_ES, and gl_ES locales may be affected by same issue. But I'm not
Basque neither Galician speaker/user.


I suggest following fix for ca_ES locale, marked with <<--, I'm sorry, I can't
provide a diff file now.

LC_MONETARY
int_curr_symbol      "EUR "
currency_symbol      "<U20AC>"
mon_decimal_point    ","
mon_thousands_sep    "."
mon_grouping         3;3
positive_sign        ""
negative_sign        "-"
int_frac_digits      2
frac_digits          2
p_cs_precedes        0   <<-- changes from 1 to 0
p_sep_by_space       1
n_cs_precedes        0   <<-- changes from 1 to 0
n_sep_by_space       1
p_sign_posn          1
n_sign_posn          1
END LC_MONETARY

LC_NUMERIC
decimal_point        ","
thousands_sep        "."
grouping             3;3 <<-- changes from 0;0 to 3;3
END LC_NUMERIC

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Sergi Almacellas Abellana <sergi at koolpi dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11345|0                           |1
        is obsolete|                            |

--- Comment #10 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
Created attachment 11359
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11359&action=edit
patch_v3

Thanks Joan. I uploaded a new patch which implements what you've commented

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Sergi Almacellas Abellana <sergi at koolpi dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11359|0                           |1
        is obsolete|                            |

--- Comment #11 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
Created attachment 11360
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11360&action=edit
patch_v4

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #12 from Robert Buj <rbuj at fedoraproject dot org> ---
Hi Sergi,

By default, grouping is disabled in locale.currency(val, symbol=True,
grouping=False, international=False)
https://docs.python.org/3/library/locale.html#locale.currency

Current result:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'-€ 1.234,50'
>>> locale.currency(-1234.5, grouping=True, international=True)
'-EUR  1.234,50'
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'€ 1.234,50'
>>> locale.currency(-1234.5, grouping=True, international=True)
'EUR  1.234,50'

Expected result:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'-1.234,50 €'
>>> locale.currency(-1234.5, grouping=True, international=True)
'-1.234,50 EUR'
>>> locale.currency(1234.5, grouping=True)
'1.234,50 €'
>>> locale.currency(-1234.5, grouping=True, international=True)
'1.234,50 EUR'

The currency symbol succeeds the value. I agree with this:
p_cs_precedes        0   <<-- replace 1 with 0
n_cs_precedes        0   <<-- replace 1 with 0

You should also remove blank space in int_curr_symbol:
int_curr_symbol      "EUR"   <<-- replace "EUR " with "EUR"

You don't need to escape for the currency_symbol:
currency_symbol      "€"   <<-- replace "<U20AC>" with "€"

LC_NUMERIC is not used for LC_MONETARY, but you can keep this change for
numeric formatting.
grouping             3;3   <<-- replace 0;0 with 3;3

Regards,
Robert

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Robert Buj <rbuj at fedoraproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rbuj at fedoraproject dot org

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #14 from Robert Buj <rbuj at fedoraproject dot org> ---
——————————————————————————
Issue
——————————————————————————
The currency symbol succeeds the value in Catalan.

[robert@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.16-200.fc28.x86_64 #1 SMP Sat Oct 20 23:53:47
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[robert@localhost ~]$ LANG=C dnf info glibc
Name         : glibc
Version      : 2.27
Release      : 33.fc28
Arch         : x86_64
Size         : 13 M
Source       : glibc-2.27-33.fc28.src.rpm
...

——————————————————————————
Test code
——————————————————————————
[robert@localhost ~]$ cat test.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <monetary.h>
#include <locale.h>

int main () {
   struct lconv * lc;
   char string[100];
   double money = -1234.56;

   if (setlocale(LC_ALL, "ca_ES.UTF-8") == NULL) {
      printf("Unable to setlocale().\n");
      exit(1);
   }

   lc = localeconv();
   printf("Currency symbol: [%s]\n",lc->currency_symbol);
   printf("International currency symbol: [%s]\n",lc->int_curr_symbol);
   printf("Currency decimal point: [%s]\n",lc->mon_decimal_point);
   printf("Currency thousands sep: [%s]\n",lc->mon_thousands_sep);
   printf("Positie currency symbol precedes?: [%d]\n",lc->p_cs_precedes);
   printf("Negative currency symbol precedes?: [%d]\n",lc->n_cs_precedes);

   strfmon(string, 100, "%i", fabs(money)); /* 1.234,56 EUR */
   printf("[%s]\n", string);

   strfmon(string, 100, "%n", fabs(money)); /* 1.234.56 € */
   printf("[%s]\n", string);

   strfmon(string, 100, "%i", money); /* -1.234,56 EUR */
   printf("[%s]\n", string);

   strfmon(string, 100, "%n", money); /* -1.234.56 € */
   printf("[%s]\n", string);

   return 0;
}

——————————————————————————
Current result
——————————————————————————
[robert@localhost ~]$ ./test
Currency symbol: [€]
International currency symbol: [EUR ]
Currency decimal point: [,]
Currency thousands sep: [.]
Positie currency symbol precedes?: [1]
Negative currency symbol precedes?: [1]
[EUR 1.234,56]
[€ 1.234,56]
[-EUR 1.234,56]
[-€ 1.234,56]

——————————————————————————
Expected result
——————————————————————————
[robert@localhost ~]$ ./test
Currency symbol: [€]
International currency symbol: [EUR ]
Currency decimal point: [,]
Currency thousands sep: [.]
Positie currency symbol precedes?: [0]
Negative currency symbol precedes?: [0]
[1.234,56 EUR]
[1.234,56 €]
[-1.234,56 EUR]
[-1.234,56 €]

——————————————————————————
Patch
——————————————————————————
[robert@localhost f28]$ cat my.patch
diff -urN glibc-2.27-78-g2b47bb9cba/localedata/locales/ca_ES
glibc-2.27-78-g2b47bb9cba-p/localedata/locales/ca_ES
--- glibc-2.27-78-g2b47bb9cba/localedata/locales/ca_ES  2018-10-26
21:21:37.670258359 +0200
+++ glibc-2.27-78-g2b47bb9cba-p/localedata/locales/ca_ES        2018-10-26
21:20:12.166974111 +0200
@@ -69,7 +69,7 @@

 LC_MONETARY
 int_curr_symbol      "EUR "
-currency_symbol      "<U20AC>"
+currency_symbol      "€"
 mon_decimal_point    ","
 mon_thousands_sep    "."
 mon_grouping         3;3
@@ -77,9 +77,9 @@
 negative_sign        "-"
 int_frac_digits      2
 frac_digits          2
-p_cs_precedes        1
+p_cs_precedes        0
 p_sep_by_space       1
-n_cs_precedes        1
+n_cs_precedes        0
 n_sep_by_space       1
 p_sign_posn          1
 n_sign_posn          1

——————————————————————————
Note
——————————————————————————
int_curr_symbol: The fourth character is the character used to separate the
international currency symbol from the monetary quantity.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #13 from Robert Buj <rbuj at fedoraproject dot org> ---
Fix negative values in previous message (Ctrl-C/Ctrl-C)

Current result:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'-€ 1.234,50'
>>> locale.currency(-1234.5, grouping=True, international=True)
'-EUR  1.234,50'
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(1234.5, grouping=True)
'€ 1.234,50'
>>> locale.currency(1234.5, grouping=True, international=True)
'EUR  1.234,50'


Expected result:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'ca_ES.UTF-8')
'ca_ES.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'-1.234,50 €'
>>> locale.currency(-1234.5, grouping=True, international=True)
'-1.234,50 EUR'
>>> locale.currency(1234.5, grouping=True)
'1.234,50 €'
>>> locale.currency(1234.5, grouping=True, international=True)
'1.234,50 EUR'

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maiku.fabian at gmail dot com
           See Also|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=1643674

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

Sergi Almacellas Abellana <sergi at koolpi dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11360|0                           |1
        is obsolete|                            |

--- Comment #15 from Sergi Almacellas Abellana <sergi at koolpi dot com> ---
Created attachment 11371
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11371&action=edit
patch_v5

Hi Robert,

Thanks for your input.

Removing the extra space from int_curr_symbol causes the following error when
generating locales:

$ locale-gen

Generating locales...
  ca_AD.UTF-8...failed to set locale!
[error] LC_MONETARY: value of field `int_curr_symbol' has wrong length
 done
Generation complete.


I've uploaded a new patch version which uses '€' as currency symbol following
your suggestions. Here are my results:

>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'ca_AD.UTF-8'
>>> locale.currency(-1234.5, grouping=True)
'-1.234,50 €'
>>> locale.currency(-1234.5, grouping=True)
'-1.234,50 €'
>>> locale.currency(-1234.5, grouping=True, international=True)
'-1.234,50 EUR '
>>> locale.currency(1234.5, grouping=True)
'1.234,50 €'
>>> locale.currency(1234.5, grouping=True, international=True)
'1.234,50 EUR '

Which looks good to me.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #16 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Sergi Almacellas Abellana from comment #15)

> I've uploaded a new patch version which uses '€' as currency symbol
> following your suggestions. Here are my results:

Currently, we write only ASCII directly and all non-ASCII data
as code points, i.e. we will keep "<U20AC>" here.
In future we may use all characters directly instead of code points,
but for the time being we have decided to use only ASCII directly.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug localedata/23791] Wrong monetary format for ca_ES locale

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23791

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  fec8bb7ca93d66cd2b019cfebcee6b3e6560ea36 (commit)
      from  b6e7c449f9bb33943f10fdd8f3e539dceb136177 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fec8bb7ca93d66cd2b019cfebcee6b3e6560ea36

commit fec8bb7ca93d66cd2b019cfebcee6b3e6560ea36
Author: Sergi Almacellas Abellana <[hidden email]>
Date:   Mon Oct 29 13:38:30 2018 +0100

    Currency symbol should not preceed amount for [BZ #23791]

    CLDR also has the currency symbol after the amount for Catalan.

    Also set grouping in LC_NUMERIC to 3;3.

    Reviewed-by: Mike FABIAN <[hidden email]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    7 +++++++
 localedata/locales/ca_ES |    6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)

--
You are receiving this mail because:
You are on the CC list for the bug.
12