Skip to content

encode: wrap long lines - #38

Closed
oliverpool wants to merge 1 commit into
emersion:masterfrom
oliverpool:wrap
Closed

encode: wrap long lines#38
oliverpool wants to merge 1 commit into
emersion:masterfrom
oliverpool:wrap

Conversation

@oliverpool

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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