Skip to content

Standard library: rename Format.utf8_scalar_width to utf_8_scalar_width - #13794

Merged
nojb merged 1 commit into
ocaml:trunkfrom
Octachron:format_width_nomenclature_fix
Feb 11, 2025
Merged

Standard library: rename Format.utf8_scalar_width to utf_8_scalar_width#13794
nojb merged 1 commit into
ocaml:trunkfrom
Octachron:format_width_nomenclature_fix

Conversation

@Octachron

Copy link
Copy Markdown
Member

A nomenclature blunder sneaked inside #13570: the standard library only uses utf_8 and not utf8 for the unicode encoding, whereas my PR added a utf8_scalar_width.

This PR fixes this mistake while there is still time for consistency.

The standard library consistently uses utf_8 and not utf8.
@dra27
dra27 force-pushed the format_width_nomenclature_fix branch from 7c00836 to c69f236 Compare February 11, 2025 14:30
@nojb
nojb merged commit 3a3a742 into ocaml:trunk Feb 11, 2025
tmcgilchrist pushed a commit to tmcgilchrist/ocaml that referenced this pull request Feb 17, 2025
The standard library consistently uses utf_8 and not utf8.
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.

4 participants