This gem adds String#display_size to get the display size of a string using EastAsianWidth.txt.
Jan Lelis
gem "unicode-display_width", "~> 0.1.1"