table_print
table_print copied to clipboard
Multibyte characters misrepresented
trafficstars
At display time, multibyte characters are shown as a single column. But when calculating column width, it appears that each byte of the character is counted as a new column. Thus, cells with multibyte characters are displayed too narrowly, breaking the vertical alignment of subsequent columns.
fixed for ruby versions after 1.8.7
® symbol is improperly counted (cells with ® are one column too narrow)
I believe that #45 fixes this :)