Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting issue with special characters #100

Merged
merged 2 commits into from
Feb 21, 2023
Merged

Conversation

antham
Copy link
Owner

@antham antham commented Feb 21, 2023

Fix #98, length of special characters is not properly calculated, the number of
byte is calculated instead of the number of characters, use the
utf8.RuneCountInString instead of len

antham and others added 2 commits February 21, 2023 22:13
* length of special characters is not properly calculated, the number of
byte is calculated instead of the number of characters, use the
utf8.RuneCountInString instead of len
@antham antham merged commit 7a1a0d2 into master Feb 21, 2023
@antham antham deleted the fix-formatting-issue branch February 21, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-ASCII characters cause table column width to grow unnecessarily
1 participant