1aim / DELETE-THIS-mail-types

Encoding/Decoding (roughly read Generating/Parsing) of mails in rust, including limited unicode support
0 stars 0 forks source link

Base64 encoding in encoded words in header #3

Closed rustonaut closed 7 years ago

rustonaut commented 7 years ago

check if the current implementation handles all corner cases, especially such specific to using it in a header (encoded words):

and fix issues found this way:

rustonaut commented 7 years ago

IDEA: different to quoted-printable I can calculate how many bytes the resulting will have after encoding, and if it breaches the length limitation I can brake it into parts before encoding ;=)