Article View: news.software.nntp
Article #46484Re: Encoding binary data
From: Russ Allbery
Date: Thu, 18 May 2000 00:00
Date: Thu, 18 May 2000 00:00
31 lines
1993 bytes
1993 bytes
Anne Wilson <anne@unidata.ucar.edu> writes:
> If I need to make 'small' changes to INN, I can do that (although that
> may lead to a maintenence morass that could be bad enough to make it
> prohibitive...) In looking at the innxmit code, it looks like the only
> encoding it explicitly handles is quoted printable:
> if (ContentEncoding
> && (caseEQ(ContentEncoding, "binary")
> || caseEQ(ContentEncoding, "8bit"))) {
> if (ContentType == NULL || caseEQ(ContentType, "text"))
> MimeArticle = MTquotedprintable;
> } else {
> /* Shouldbe MTbase64, but not implemented yet. */
> MimeArticle = MTnotmime;
> }
> Does this mean that anything else will bomb?
That's legacy stuff from really early on in the adoption of MIME; it's
since been ripped out completely. innxmit doesn't need to know anything
at all about the article body encoding.
You should be able to use practically any encoding in the body that avoids
CR and NUL as far as INN is concerned, I *think*. But I've not tested
this.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylem6zm4zy.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.edu>Show Full Headers
Complete Article Headers
Message-ID: <ylem6zm4zy.fsf@windlord.stanford.edu> Subject: Re: Encoding binary data Date: Thu, 18 May 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 625295884 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp