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 7-bit decoding to preserve line breaks but restore wrapped lines #163

Closed
wants to merge 1 commit into from

Conversation

andrewtimberlake
Copy link
Collaborator

The current implementation of 7-bit encoding wraps lines longer than 998, as it should, but then removes all line breaks on decoding—but it should only remove those added due to line wrapping.
This pull request also validates the character set by raising on invalid characters in the same way the encoding does.
Because of the change in decoding, this is a breaking change

@bcardarella
Copy link
Member

can you include a verison bump to 0.4 if this is a breaking change?

@andrewtimberlake
Copy link
Collaborator Author

Sorry, I created this pull request against my master branch. I have created another at #164 on a development branch and included the version bump.

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.

2 participants