Closed
Description
I am trying to tabulate entries containing Devanagari characters using python-tabulate. The library uses wcwidth to calculate the visible length of a string, apparently on line 768 here.
I had opened an issue in astanin/python-tabulate#68 a while ago. The dev directed me to also open an issue here, so here I am. I will quote myself directly from the issue:
This 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