Skip to content

Treat U+FF5E as CJK punctuation#16832

Merged
fisker merged 3 commits intoprettier:mainfrom
tats-u:ff5e-punctuation
Dec 16, 2024
Merged

Treat U+FF5E as CJK punctuation#16832
fisker merged 3 commits intoprettier:mainfrom
tats-u:ff5e-punctuation

Conversation

@tats-u
Copy link
Contributor

@tats-u tats-u commented Nov 10, 2024

Description

U+FF5E FULL-WIDTH TILDE is widely used as a substitute for U+301C WAVE DASH in Windows (for Japanese).

e.g. an EN dash explaining a range is equivalent to the wave dash in Japanese.

English: 0–100 points
Japanese: 0~100点

Non-Windows OSes use U+301C as the wave dash.

https://en.wikipedia.org/wiki/Wave_dash
https://www.google.com/search?q=U%2B301C+U%2BFF5E

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@tats-u tats-u marked this pull request as draft November 10, 2024 13:23
@tats-u tats-u marked this pull request as ready for review November 27, 2024 12:37
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.

3 participants