Article View: news.software.nntp
Article #46595Re: uuencoded text attachments rejected
From: Jeremy
Date: Thu, 25 May 2000 00:00
Date: Thu, 25 May 2000 00:00
42 lines
2521 bytes
2521 bytes
Colin Sarsfield <colin.sarsfield@usa.net> wrote: > Yes, I agree. I should have been clearer. I was wondering what range > of ASCII characters is considered a "text" file. That's probably not what the servers in question are looking at, for what it's worth. > Obviously, anything over 127 is 8 bits and needs encoding. No, not necessarily. News can be *mostly* 8-bit clean. You can have things like � and � and �, which are >127, in your posts without having to encode them. You just have to specify the correct character set in your MIME headers (look at my headers for an example). > How about characters 0-7, 11-12, & 14-31 ? Do they qualify as text? They sound like control characters to me. If you really have some need to include them in a Usenet post, it would be far better to use some other encoding rather than uuencoding the whole text file. Best not to include them at all in the regular body of a post, as many people can't display them very well. In attachments, quoted-printable might be the way to go. > Also, I was thinking that uuencoding files with lines longer than 80 > characters would preserve line endings (useful for source code, esp. > languages like python). What is messing up line endings on you? You can have lines longer than 80 characters. If they get wrapped, that's a client issue. > And what about text files with unix or mac line ending conventions (I > assume these should be translated to the netnews CRLF pair)? If you need to attach a text file in such a way that you need to preserve the line ending conventions, I think it would be better to use quoted-printable rather than uuencode or base64. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Technical Details
Message-ID:
<959217429.500747@news.netscum.dk>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:
<siojuuko150@corp.supernews.com> <siojuuko150@corp.supernews.com> <959215204.43954@news.netscum.dk> <sioungc6o1169@corp.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <959217429.500747@news.netscum.dk> Subject: Re: uuencoded text attachments rejected Date: Thu, 25 May 2000 00:00:00 +0000 From: Jeremy <bofh@netscum.dk> References: <siojuuko150@corp.supernews.com> <siojuuko150@corp.supernews.com> <959215204.43954@news.netscum.dk> <sioungc6o1169@corp.supernews.com> 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: 626971398 Content-Transfer-Encoding: 8bit Organization: There Is No Organization Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 X-Meow: Meow Newsgroups: news.software.nntp