Re: CLDR Survey bug? (currency formating)

From: Philippe Verdy (verdy_p@wanadoo.fr)
Date: Thu Apr 13 2006 - 14:02:09 CST

  • Next message: Richard Wordingham: "Re: combining enclosing marks for multi-letter sequences; grapheme clusters"

    I did not complain about "XXX" which looks correct for the default international French locale (no specific currency, and "¤" used as the symbol). I complained about the incorrect thousand group separator used ("," instead of space, as indicated in the French locale data), when the correct decimal separator is used (",").

    This is what results in the unparsable formatted number error (too many commas).

    And the case is existant. I just selected the [fr] locale, not [fr_FR] from which it inherits,and where the Euro currency should be overridden.

    So in [fr] the correct formating is effectively

    > Locale Data: "#,##0.00 ¤" (correct)
    > Example: "-50428.047" → ‎"-50 428,05 XXX"‎ → "-50428.047"

    The same locale data string is also correct for [fr_FR] but only the currency is overriden there from another locale resource:

    > Locale Data: "#,##0.00 ¤" (correct)
    > Example: "-50428.047" → ‎"-50 428,05 EUR"‎ → "-50428.047"

    ----- Original Message -----
    From: "Keutgen, Walter" <walter.keutgen@be.unisys.com>
    To: "Philippe Verdy" <verdy_p@wanadoo.fr>; <unicode@unicode.org>
    Sent: Thursday, April 13, 2006 11:59 AM
    Subject: RE: CLDR Survey bug? (currency formating)

    > Philippe,
    >
    > the XXX (=no currecny) instead of EUR is also incorrect.
    >
    > It seems that the tool often fetches false values in this example display routine. If one looks at currencies sorted by priority, one finds a real mixing of ISO currency codes. See: http://unicode.org/cldr/apps/survey?_=fr&x=currencies&p_sort=interest
    >
    > CHE/displayName euro WIR Example: -10472.603 → ‎-10 472,60 DEM‎ → -10472.6
    >
    > CHE becomes DEM (Deutsche Mark) and the French number format instead of the Swiss one.
    >
    > (-: The pivotal pair of the European Union, France and Germany, rooted in Swiss finance? :-)
    >
    > The case you reported is even worse, as it yields not another but an inexisting format.
    >
    > So bug reports 1001 and 1026 are complementary.
    >
    > Best regards



    This archive was generated by hypermail 2.1.5 : Thu Apr 13 2006 - 14:09:49 CST