Skip to content

Intl number grouping: fr-FR uses ',' instead of U+202F #7429

Description

@proggeramlug

fr-FR number grouping uses , where Node uses U+202F (narrow no-break space).

console.log((9876543210n).toLocaleString('fr-FR'));
// perry: 9,876,543,210
// node:  9 876 543 210   (U+202F separators)

en-US (,) and de-DE (.) are both correct, so the group-separator table is missing the French entry and falling back to the default rather than the locale's own separator.

Related: the Intl.DateTimeFormat/icu4x work already normalizes U+202F in the date path; the number path appears not to carry the same locale data.

Reproduced on a pristine build of bd7cbb7da in a separate worktree, so this predates the current main. Surfaced while writing the gap test for #7427, which omits fr-FR for this reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions