Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-827

Incorrect parsing of decimals in French locale by NumberTranslator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.1.1
    • Framework
    • None
    • Tomcat 5.0, jre 1.4.2, ie 6.0

    Description

      When validating numbers using NumberTranslator with French locale incorrect parsing of a user entered decimal occurs. Example, 55 000 results in a String value of 55 being returned by NumberTranslator. Reason being that the user enters a space (0x20) as the grouping separator, however, java.text.DecimalFormat expects a non-breaking space (0xA0). The tranlsator should replace grouping separator spaces with non-breaking spaces?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mthornton Michael Thronton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: