You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2020-10-08.13:19:58.790>labels= ['library']
title='Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html'updated_at=<Date2021-02-22.14:17:30.356>user='https://github.com/JulienPalard'
Currently it looks like our textwrap.fill implementation does not conforms to the Unicode Line Breaking Algorithm from the unicode standard.
Should this be enhanced?
If so, as a sidenote, it could be nice to have the override parameter of libunistring 1 to prohibit line breaking at specific places where the algorithm would normally break but where a human don't expect it to.
Activity
JulienPalard commentedon Oct 8, 2020
Currently it looks like our
textwrap.fillimplementation does not conforms to the Unicode Line Breaking Algorithm from the unicode standard.Should this be enhanced?
If so, as a sidenote, it could be nice to have the override parameter of libunistring 1 to prohibit line breaking at specific places where the algorithm would normally break but where a human don't expect it to.
arhadthedev commentedon Feb 13, 2023
@malemburg, @ezio-melotti, @benjaminp (as Unicode experts)
[-]Textwrap to conform to https://www.unicode.org/reports/tr14/tr14-45.html[/-][+]Textwrap to conform to UAX #14[/+]