>>>>> Dmitri Paduchikh wrote: > In some cases Gnus sends application/octet-stream attachments in > unencoded form: > ,---- >| --=-=-= >| Content-Type: application/octet-stream >| Content-Disposition: attachment; filename=test.sh >| >| #!/bin/sh >| echo test > `---- > I am concerned that contents can change when transferring a message. > Think of EOL conversions, ">From " stuff, etc. Such changes can corrupt > shell script, for example. > In general, RFC 2046 says that application/octet-stream denotes > arbitrary binary data. For arbitrary binary data I would expect that it > is transferred exactly as is, even if it looks like a 7-bit text. Agreed. Aren't there any other application/* types that should not be forced to be encoded by 7bit? Otherwise, is it better not to force the 7bit encoding to all application/* types? Here are two patches; one is for excluding application/octet-stream, the other is for excluding application/*.