Doesn't tabulate correctly with zero-width characters (Devanagari)
See original GitHub issueThis is how it renders
Name Score
------------ -------
राष्ट्र परीक्षण 19.25
Test 0
versus
Name Score
--------------- -------
Devanagari here 19.25
Test 0
How it should render:
Name Score
------------ -------
राष्ट्र परीक्षण 19.25
Test 0
I have the extra widechars libs installed.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
The Beauty of Unicode: Zero-Width Characters - PTIGlobal
The zero-width non-joiner is a non-printing character used in writing systems that make use of ligatures. When placed between two characters ...
Read more >Zero-width space - Wikipedia
The zero-width space (), abbreviated ZWSP, is a non-printing character used in computerized typesetting to indicate word boundaries to text-processing systems ...
Read more >Zero Width Joiner and Zero Width Non Joiner on Talk:Search ...
Hi. I'm curious as to what behaviour search has when an input string has a ZWJ or ZWNJ unicode character. Are results without...
Read more >Unicode spaces - Jukka K. Korpela
Previously MONGOLIAN VOWEL SEPARATOR (U+180E) was classified as a space character, now as formatting characters (with no width). The characters ZERO WIDTH SPACE...
Read more >79928 - Zero-width space (unicode x200b) not interpreted
What should happen is that mozilla interprets the character and lays out the text accordingly and doesn't use the font. Samuel Sieb.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
wcwidth
doesn’t supports Devangari yet.I think it’s just the problem of calculating visible length and formatting properly, probably the wcwidth devs would look into it better. HTML is not an option for me, so I use codeblocks to format it on the UX side (and also internally for docs).
Thank you for taking out your time!