style: prefer non-fancy quotation marks #1581
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The repository currently mixes two distinct apostrophe characters: the typographic right single quotation mark (U+2019 or
’) and the ASCII apostrophe (U+0027 or'). This inconsistency provides no functional benefit and conflicts with the project's own guidance in CONTRIBUTING.md:Using typographic punctuation in source-controlled text introduces unnecessary variability without conveying additional meaning.
Solution
This change normalizes the following:
'"2e12e81 replaces fancy quotes in Markdown files throughout the repository; past covenant versions and LICENSE.md were not modified.
Rationale / Benefits
'is reliably handled across editors, terminals, linters, static analyzers, and search tools. Typographic quotes are a common source of accidental encoding and matching issues.The change is intentionally minimal, but it removes an unnecessary source of inconsistency and aligns the text with both project policy and common software development practice.
Remaining instances of fancy quotes
LICENSE.md:’(U+2019),“(U+201C), and”(U+201D)code-of-conduct.zh-cn.md 1.4:“(U+201C) and”(U+201D)code-of-conduct.zh-cn.md 2.0:“(U+201C) and”(U+201D)Other changes
Related