Skip to content

mime: BEncoding and QEncoding don't respect the 75 character limit in RFC2047 #12300

@joegrasse

Description

@joegrasse

The new mime.BEncoding.Encode and mime.QEncoding.Encode functions documented here, don't respect the 75 character line limit.

Excerpt from RFC2047:

An 'encoded-word' may not be more than 75 characters long, including
'charset', 'encoding', 'encoded-text', and delimiters. If it is
desirable to encode more text than will fit in an 'encoded-word' of
75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
be used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions