🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46583

Re: uuencoded text attachments rejected

#46583
From: Russ Allbery
Date: Wed, 24 May 2000 00:00
25 lines
2008 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:

> No. Quoted-printable specifically _doesn't_ handle differences in line
> ending conventions of _text_ data. You can of course treat the data as a
> non-text type, e.g. application/octet-stream, instead.

The theory basically goes like this, as I understand it:  If it's a text
file, then the line endings don't convey any information beyond "this is
the end of the line" and you can convert line endings arbitrarily as
necessary for the protocol and for the conventions of the local operating
system.  All you need is some way of recognizing where lines end so that
you can convert as necessary.

If you have to preserve a *particular* line end convention, then the file
is no longer a text file (since text files do not have any specific line
ending convention apart from those enforced by the protocol).  It's a
binary and must be encoded as a binary (normally using base64 encoding,
but the important part is the MIME content label).

There are close parallels to text vs. binary mode in FTP transfers.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl1z2rtngr.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-mail
References: <siojuuko150@corp.supernews.com> <siojuuko150@corp.supernews.com> <959215204.43954@news.netscum.dk> <sioungc6o1169@corp.supernews.com> <959217429.500747@news.netscum.dk> <87g0r7cszs.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <yl1z2rtngr.fsf@windlord.stanford.edu>
Subject: Re: uuencoded text attachments rejected
Date: Wed, 24 May 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <siojuuko150@corp.supernews.com> <siojuuko150@corp.supernews.com> <959215204.43954@news.netscum.dk> <sioungc6o1169@corp.supernews.com> <959217429.500747@news.netscum.dk> <87g0r7cszs.fsf@erlenstar.demon.co.uk>
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: 626978677
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