Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4122840

Update locale data to use generic currency symbol

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.2.0
    • core-libs
    • 1.2fcs
    • x86
    • windows_nt
    • Not verified



      Name: bb33257 Date: 03/25/98


      Now that we have API to get and set the currency symbol, and
      using the generic currency symbol in a DecimalFormat pattern
      automatically causes the real currency symbol in
      DecimalFormatSymbols to be substituted, we should change the
      locale data files to use the generic currency symbol in their
      patterns.

      This has two benefits: 1) There will be more times when the
      NumberPatterns resource doesn't have to be repeated across
      related groups of locales because only the currency symbol, and
      not the pattern using it, has changed. This cuts down the size
      of the resources and eases the maintenance burden. 2) If we
      have to change the currency symbol for a given country, we
      don't have to remember to change it in three separate places to
      make it "take" (one in the actual currency-symbol spot, and two
      places in the currency format pattern). This eases the mainenance
      burden and help to prevent errors.
      ======================================================================

            rgillamsunw Richard Gillam (Inactive)
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: