Article View: news.software.nntp
Article #57180Re: Yenc
From: Andrew Gierth
Date: Tue, 12 Mar 2002 20:50
Date: Tue, 12 Mar 2002 20:50
27 lines
2408 bytes
2408 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes: Curt> uuencoded wasted all those bits because they were attempting to Curt> encode binary information into to a text file that would be Curt> very portable across different types of computers. uuencode Curt> was invented before Usenet was even created -- back in a day Curt> where lots of computers still used wildly different techniques Curt> to represent characters. If you used too many characters, you Curt> risk the file not being correctly translated from one computer Curt> system to the next. uuencode isn't really very good at that, though (which is why MIME base64 exists). base64 is very careful to choose characters for encoding which will survive encoding changes (especially to/from EBCDIC, which has particular problem with characters like []); uuencode, in contrast, is inextricably ASCII-centric and also originally relied on very dubious things like preservation of trailing whitespace (the method of using ` to encode 000000 was a later refinement, still not universally used). The upper/lowercase thing I suspect is entirely a fluke; uuencode uses the middle 64 out of the 128 ASCII values because that is the only obvious block that doesn't include any control characters. -- Andrew.
Technical Details
Message-ID:
<87elipse87.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonsterReferences:
<pan.2002.01.06.21.41.07.910445.4525@yahoo.com.au> <20020106152410.253$1M@newsreader.com> <9codbuobh5lrsku12fapklu9sootn9eugk@4ax.com> <20020312125045.901$tB@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <87elipse87.fsf@erlenstar.demon.co.uk> Subject: Re: Yenc Date: Tue, 12 Mar 2002 20:50:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <pan.2002.01.06.21.41.07.910445.4525@yahoo.com.au> <20020106152410.253$1M@newsreader.com> <9codbuobh5lrsku12fapklu9sootn9eugk@4ax.com> <20020312125045.901$tB@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonster Newsgroups: news.software.nntp Organization: disorganised Lines: 26 X-Mayan-Date: Long count = 12.19.9.1.1; tzolkin = 4 Imix; haab = 19 Kayab X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: abuse@news-spur.riddles.org.uk X-Post-Filter: postfilter v0.6 alpha