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

Unicode strings break layout #154

Open
honzajde opened this issue Oct 13, 2022 · 6 comments
Open

Unicode strings break layout #154

honzajde opened this issue Oct 13, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@honzajde
Copy link

Unicode strings break layout.

I have tried xsv table for comparison that handles it well.

@alexhallam
Copy link
Owner

Can I see some examples. I do use a library that is supposed to handle unicodes, but it must be falling short if you are experiencing this issue.

@honzajde
Copy link
Author

name,count
太吾绘卷,123
A line,123
        tv dim: 2 x 2
        name   count 
     1  太吾绘卷   123   
     2  A line 123  

@alexhallam
Copy link
Owner

Makes sense. I am away on a work trip the rest of the week I will follow up next week.

@Yomguithereal
Copy link

If I recall correctly, you need to consider both graphemes and unicode width to be able to do this correctly, and this has some perf cost. Is this possible to help you on this somehow? Should I try a PR?

@alexhallam
Copy link
Owner

alexhallam commented Mar 21, 2023 via email

@zy6p
Copy link

zy6p commented Aug 28, 2023

May I kindly ask if there has been any progress so far?

@alexhallam alexhallam added the bug Something isn't working label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants