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

wrap_text() is bad #13

Open
loganzartman opened this issue Mar 30, 2020 · 0 comments
Open

wrap_text() is bad #13

loganzartman opened this issue Mar 30, 2020 · 0 comments
Labels
bug Something isn't working status: planning Feature in planning
Milestone

Comments

@loganzartman
Copy link
Owner

wrap_text() is not only broken in some cases, but it assumes by default that all unicode spaces, and only unicode spaces, are word wrap break points. This is simply not true for all scripts, including some East Asian scripts which are otherwise supported.

Consider removing and recommending usage of textwrap module or uniseg package depending on user requirements.

@loganzartman loganzartman added bug Something isn't working status: planning Feature in planning labels Mar 30, 2020
@loganzartman loganzartman added this to the 1.0.0 milestone Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: planning Feature in planning
Projects
None yet
Development

No branches or pull requests

1 participant