Multibyte characters misrepresented #2

Open
arches opened this Issue May 23, 2011 · 3 comments

Comments

Projects
None yet
2 participants
@arches
Owner

arches commented May 23, 2011

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.

@arches

This comment has been minimized.

Show comment
Hide comment
@arches

arches Aug 31, 2013

Owner

fixed for ruby versions after 1.8.7

Owner

arches commented Aug 31, 2013

fixed for ruby versions after 1.8.7

@arches

This comment has been minimized.

Show comment
Hide comment
@arches

arches Sep 9, 2013

Owner

® symbol is improperly counted (cells with ® are one column too narrow)

Owner

arches commented Sep 9, 2013

® symbol is improperly counted (cells with ® are one column too narrow)

@ares ares referenced this issue in theforeman/hammer-cli Sep 27, 2016

Merged

Fixes #3520 - respect special chars width #218

@shlomizadok

This comment has been minimized.

Show comment
Hide comment
@shlomizadok

shlomizadok Sep 29, 2016

I believe that #45 fixes this :)

I believe that #45 fixes this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment