You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance Asian character detection per iblea's suggestion
Improved Unicode width calculation for Korean and Japanese characters
by adding dedicated checkAsianCharacter helper function.
Changes:
- Add checkAsianCharacter() with comprehensive Korean/Japanese ranges:
* Korean Hangul (unicode.Hangul)
* Korean Hangul Jamo (0x1100-0x11FF)
* Korean Hangul Compatibility Jamo (0x3130-0x318F)
* Enclosed CJK Letters (0x3200-0x32FF)
* Japanese Hiragana (unicode.Hiragana)
* Japanese Katakana (unicode.Katakana)
- Add Miscellaneous Technical emoji range (0x2300-0x23FF) for clock
symbols and similar emoji
- Add comprehensive tests for Korean/Japanese character detection
- Add TestCheckAsianCharacter for validating the helper function
Credit: Implementation based on iblea's code review suggestion
on PR #563
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments