Skip to content

Conversation

@jquast
Copy link
Owner

@jquast jquast commented Jan 19, 2026

Closes #118

This also sets * positional/keyword argument enforcement for all of
the new proposed API functions

Characters with the Unicode Default_Ignorable_Code_Point property should
be rendered as zero-width per Unicode Standard. This fixes U+3164 HANGUL
FILLER, U+FFA0 HALFWIDTH HANGUL FILLER, and ~3700 reserved codepoints
that were incorrectly returning non-zero width.

Two exceptions are preserved:

  • U+00AD SOFT HYPHEN: remains width 1 (ISO-8859-1 compatibility)
  • U+115F HANGUL CHOSEONG FILLER: remains width 2 (Hangul jamo composition)

Closes #118

This also sets ``*`` positional/keyword argument enforcement for all of
the new proposed API functions

Characters with the Unicode Default_Ignorable_Code_Point property should
be rendered as zero-width per Unicode Standard. This fixes U+3164 HANGUL
FILLER, U+FFA0 HALFWIDTH HANGUL FILLER, and ~3700 reserved codepoints
that were incorrectly returning non-zero width.

Two exceptions are preserved:
- U+00AD SOFT HYPHEN: remains width 1 (ISO-8859-1 compatibility)
- U+115F HANGUL CHOSEONG FILLER: remains width 2 (Hangul jamo composition)
@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a3cb502) to head (438e79d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #174   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          593       592    -1     
  Branches       143       142    -1     
=========================================
- Hits           593       592    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jquast jquast force-pushed the jq/default-ignorable-codepoints branch from 7a53906 to 4e0ab90 Compare January 20, 2026 16:05
@jquast jquast force-pushed the jq/default-ignorable-codepoints branch from 5e556d2 to 438e79d Compare January 20, 2026 16:37
@jquast jquast merged commit e481099 into master Jan 20, 2026
36 checks passed
@jquast jquast deleted the jq/default-ignorable-codepoints branch January 20, 2026 16:38
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.

Default_Ignorable_Code_Points should all be zero-width

1 participant