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

encode: wrap long lines #38

Closed
wants to merge 1 commit into from
Closed

Conversation

oliverpool
Copy link
Contributor

Implements rfc6350#section-3.2

Long logical lines of text can be split into a multiple-physical-line representation using the following folding technique. Content lines SHOULD be folded to a maximum width of 75 octets, excluding the line break. Multi-octet characters MUST remain contiguous.

As draft because it is incompatible with #35 (opened so that you can have a look, will rebase after the merge of #35)

@emersion
Copy link
Owner

I'd prefer to not implement this feature. It doesn't serve any actual purpose, and from my experience with go-message, is very difficult to get right.

@oliverpool
Copy link
Contributor Author

Fair enough!

Thanks for the feedback ❤️

@oliverpool oliverpool closed this Oct 25, 2024
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