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

Fix loop when wrapping line with ISO-8859-1 character #1088

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

koutcher
Copy link
Collaborator

Fixes #1087

@krobelus
Copy link
Contributor

Looks good; other places that handle utf8 are not affected

@koutcher koutcher changed the title Fix loop when wrapping line with ISO8859-1 character Fix loop when wrapping line with ISO-8859-1 character Feb 26, 2021
@koutcher
Copy link
Collaborator Author

I managed to embed everything in utf8_length().

@koutcher koutcher force-pushed the gh-1087-loop-wrap-iso branch 5 times, most recently from b9afe6b to 3032ede Compare March 1, 2021 20:53
Changes utf8_char_length(), utf8_to_unicode() and utf8_length()
implementation to rely on utf8proc.

Fixes jonas#1087
@koutcher koutcher merged commit 2305fe6 into jonas:master Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eats all memory and goes into swap
2 participants