<i18n dev> RFR: 8363972: Loose matching of dash/minusSign in number parsing [v6]
Naoto Sato
naoto at openjdk.org
Fri Aug 1 19:05:27 UTC 2025
> Enabling lenient minus sign matching when parsing numbers. In some locales, e.g. Finnish, the default minus sign is the Unicode "Minus Sign" (U+2212), which is not the "Hyphen Minus" (U+002D) that users type in from keyboard. Thus the parsing of user input numbers may fail. This change utilizes CLDR's `parseLenient` element for minus signs and loosely matches them with the hyphen-minus so that user input numbers can parse. As this is a behavioral change, a corresponding CSR has been drafted.
Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 16 commits:
- Merge branch 'master' into JDK-8363972-Loose-matching-dash
- Spec update
- Supplementary/CanonEq tests
- flipped again, which was correct
- flipped the size check
- Address review comments
- Merge branch 'master' into JDK-8363972-Loose-matching-dash
- tidying up
- test location
- spec update
- ... and 6 more: https://git.openjdk.org/jdk/compare/8e921aee...3682484d
-------------
Changes: https://git.openjdk.org/jdk/pull/26580/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26580&range=05
Stats: 409 lines in 8 files changed: 373 ins; 21 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/26580.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26580/head:pull/26580
PR: https://git.openjdk.org/jdk/pull/26580
More information about the i18n-dev
mailing list