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

Java locales at 1.1.8_13 dealing with international currency symbols

    Details

    • Subcomponent:
    • Resolved In Build:
      b42
    • CPU:
      generic
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description

      All problems and questions relate to JDK 1.1.8_13 on Solaris 2.6.
      These problems do NOT relate to Solaris locales -- they relate to Java locales.

      Problem #1:
      Austria locale (de_AT) has incorrect local currency symbol. It is "oS"
      (with the "o" having an umlaut), but should be "ATS".

      Current behavior: oS 1.234,56
      Desired behavior: ATS 1.234,56

      (NOTE: "ATS" is indeed the international currency symbol already, but
      we're asking that the local currency symbol also be "ATS".)

      Problem #2:
      Austria locale (de_AT) reports currency off by a factor of 100. For
      example, Solaris 2.6 reports a value of...

      ATS 9.000,00

      ...but JDK 1.1.8 reports a value of...

      oS 900.000,00

      Problem #3:
      Sweden locale (sv_SE) uses a "non-breaking space" in the thousands
      separator. It should be a decimal point.

      Current behavior: -1 234,56 kr
      Desired behavior: -1.234,56 kr

      Problem #4:
      Argentina locale (es_AR) does not display negative local currency
      amounts correctly.

      Current behavior: ($1.234,56)
      Desired behavior: -$1.234,56

      Problem #5:
      Mexico locale (es_MX) does not display negative local currency amounts
      correctly.

      Current behavior: ($1,234.56)
      Desired behavior: -$1,234.56

      Problem #6:
      Netherlands locale (nl_NL) has wrong local currency symbol.

      Current behavior: fl 1.234,56-
      Desired behavior: f 1.234,56-

      Problem #7:
      Latin American locales have wrong behavior for U.S. dollar
      international currency symbol. Not sure is this is a problem with the
      Latin American locales or the U.S. locale. Not sure if this is a bug
      or an RFE (request for enhancement).

      Desired behaviors:
      Argentina (es_AR): -U$S 1.234,56
      Brazil (pt_BR): -US$ 1.234,56
      Mexico (es_MX): -US$ 1.234,56

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcolfersunw Kieran Colfer (Inactive)
                Reporter:
                jnickers Jeffrey Nickerson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: