Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Mar 12, 2021

Conversation

daniel-ju
Copy link
Collaborator

@daniel-ju daniel-ju 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 daniel-ju requested review from erik0686, jefgen and a team March 11, 2021 22:14
@daniel-ju daniel-ju 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
changelog.md Show resolved Hide resolved
@daniel-ju daniel-ju merged commit 1c56716 into master Mar 12, 2021
@daniel-ju daniel-ju 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