advanced-tables-obsidian
advanced-tables-obsidian copied to clipboard
Sanskrit characters mess with cell length
Describe the bug The cell length gets messed up when using Devanagari characters for Hindi or Sanskrit languages.
To Reproduce
- Create a table.
- Type using MacOS Devanagari keyboard
- Hit tab or enter to align the columns
- See error (screenshots below)
Expected behavior
Columns should automatically align after hitting tab.
Screenshots
Desktop
- OS: [MacOS Ventura 13.3.1]
- Obsidian Version: [v1.3.4]
- Advanced Tables Version: [0.18.1]
Additional context Devanagari is the script used for Hindi, Sanskrit, and other Indian languages. This issue happens when using either the Devanagari Querty keyboard, Hindi - Standard, and Sanskrit - Standard keyboard, included in MacOS. I noticed there was a similar issue with Japanese characters but the solution wouldn't work for Devanagari characters, I guess.
Hello, thanks for the issue report. Unfortunately I am not sure how to resolve this issue. Characters sets which are not fixed width, and the same fixed width as the English characters in the other rows is going to result in misalignment when counting the number of characters.
I'm open to suggestions though.
Does nobody have any suggestions? :(
I wish I could help. But...
what if there was a way to identify the width of each character to standardize them with the English characters in a separate reference table? Ok, that probably doesn't make any sense. But I'm sure there must be a solution to this.
Is this related to #306 ?