Skip to content

Conversation

@ima1zumi
Copy link
Member

@ima1zumi ima1zumi commented Jan 7, 2025

I have updated Reline's EastAsianWidth to Unicode 16.0.0.

https://www.unicode.org/Public/16.0.0/ucd/EastAsianWidth.txt

wget https://www.unicode.org/Public/16.0.0/ucd/EastAsianWidth.txt -O EastAsianWidth.txt
bin/generate_east_asian_width EastAsianWidth.txt > lib/reline/unicode/east_asian_width.rb

@tompng
Copy link
Member

tompng commented Jan 7, 2025

Some characters that changed from width=1 to width=2

0x2630..0x2637
☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷ 
0x268a..0x268f
⚊ ⚋ ⚌ ⚍ ⚎ ⚏ 
0x4dc0..0x4dff
䷀ ䷁ ䷂ ䷃ ䷄ ䷅ ䷆ ䷇ ䷈ ䷉ ䷊ ䷋ ䷌ ䷍ ䷎ ䷏ ䷐ ䷑ ䷒ ䷓ ䷔ ䷕ ䷖ ䷗ ䷘ ䷙ ䷚ ䷛ ䷜ ䷝ ䷞ ䷟ ䷠ ䷡ ䷢ ䷣ ䷤ ䷥ ䷦ ䷧ ䷨ ䷩ ䷪ ䷫ ䷬ ䷭ ䷮ ䷯ ䷰ ䷱ ䷲ ䷳ ䷴ ䷵ ䷶ ䷷ ䷸ ䷹ ䷺ ䷻ ䷼ ䷽ ䷾ ䷿ 

@tompng tompng merged commit 24e6128 into ruby:master Jan 7, 2025
45 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request Jan 7, 2025
@tompng tompng added the enhancement New feature or request label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants