Skip to content

Update French locales to use U+202F instead of U+00A0 for the number grouping separator#80

Merged
daniel-ju-msft merged 3 commits into
masterfrom
user/daju/remove-fr-202F-space-override
Mar 12, 2021
Merged

Update French locales to use U+202F instead of U+00A0 for the number grouping separator#80
daniel-ju-msft merged 3 commits into
masterfrom
user/daju/remove-fr-202F-space-override

Conversation

@daniel-ju-msft
Copy link
Copy Markdown
Collaborator

@daniel-ju-msft daniel-ju-msft commented Mar 11, 2021

Summary

This change updates French locales to use U+202F (NARROW NON BREAKING SPACE) instead of U+00A0 (NON BREAKING SPACE) for the number grouping separator, aligning with upstream CLDR.

The ICU tests and patch files were updated accordingly for this change, with all tests passing now.

PR Checklist

  • I have verified that my change is specific to this fork and cannot be made upstream.
  • I am making a maintenance related change.
  • I am making a change that is related to usage internal to Microsoft.
  • I am making a change that is related to the Windows OS build of ICU.
  • CLA signed. If not, please see here to sign the CLA.

Detailed Description

CLDR 34 switched the number grouping separator for fr-* locales from U+00A0 (NON BREAKING SPACE) to U+202F (NARROW NON BREAKING SPACE). However, we applied overrides and patches internally to revert this change at the time.

We have decided that since this change may get adopted more broadly in other locales, we should take the change to align with CLDR now (Upstream CLDR ticket: CLDR-11423).

This change updates the ICU data file (fr.txt) and modifies the ICU tests to remove our patches now that we're aligned with upstream CLDR/ICU for this data for all French locales. However, the fr-CA locale still uses the U+00A0 character upstream, which is intentionally left as-is here to have parity with CLDR. If the fr-CA data is changed upstream to match other fr-* locales, then we'll pull in that change in a future release.

@daniel-ju-msft daniel-ju-msft requested review from a team, erik0686 and jefgen March 11, 2021 22:14
@daniel-ju-msft daniel-ju-msft force-pushed the user/daju/remove-fr-202F-space-override branch from a388493 to 0ce8be1 Compare March 12, 2021 00:53
@jefgen jefgen requested a review from ShawnSteele March 12, 2021 01:14
Comment thread icu/icu4c/source/data/locales/fr.txt
Comment thread icu/icu4c/source/test/cintltst/cnmdptst.c
Comment thread changelog.md
@daniel-ju-msft daniel-ju-msft merged commit 1c56716 into master Mar 12, 2021
@daniel-ju-msft daniel-ju-msft deleted the user/daju/remove-fr-202F-space-override branch March 12, 2021 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants