Article View: news.software.nntp
Article #56878Re: [yEnc] some newbie questions
From: Dirk Nimmich
Date: Sun, 24 Feb 2002 18:52
Date: Sun, 24 Feb 2002 18:52
86 lines
5384 bytes
5384 bytes
The Archiver wrote: > Dirk Nimmich <nimmich@muenster.de> wrote: >>There's a Content-Encoding header that could be used for it if >>USENET was binary clean. (HTTP uses it.) But if this was possible >>we would also be able to send messages with Content-Transfer- >>Encoding: binary and also would not need yenc. > > This was an approach I tried last year before I began the work on yEnc: > True binary transport of bodies. > I was told that this would be impossible. Well, it is difficult but not impossible. First of all, news server have to be made binary clean. They must be able to carry and store true binary files. That is one of the easier problems. Some servers are already binary clean, AFAIK. Then the protocol used between servers and clients must be made binary clean. This can be done with extensions to the protocol (such as announcing the byte size of the following article, obsoleting much of the line oriented handling of NNTP today); there are provisions in the lastest NNTP-draft how to do it. The main problem here is, however, that you must have fall back solutions in the case the other end does not announce it is able to handle these extensions. Two solutions are possible: Don't send the binary article or do a conversion to another transfer encoding that is known to work. The last one is done in e-mail transport: if the other end does not announce it is able to handle 8BITMIME, an 8bit encoded message will be reencoded using quoted-printable or base64. But then you have to fight against the "don't touch a body after injection" fraction of USENET despite the fact that you are only changing a transport encoding and not the content. Unfortunately, this fraction is very loud, so your conclusion may be that it will actually be impossible to introduce this handling. >>> yEnc is an 8-bit-encoding which is especially designed >>> to be transported with NNTP. >> >>Ah. I thought yenc was to be used on complete USENET, not just >>sites using NNTP for carrying articles. Sorry. > > Until now I've had no problems to transmit yEncoded articles through > moderation gateways, by eMail or by UUCP-Bags. I didn't say there are problems. I just wanted to point out that this encoding has nothing to do with NNTP except that NNTP must be able to transport articles using this encoding (as any other transport protocol for USENET articles). NNTP is transport. Yenc is format. I already told you this last year, but you did not want to hear it. > Today binaries are getting more and more seperated from "regular" > Usenet - so I dont really care if "Usenet->Lotus" gateway would have > problems with yEnc (while the warning would be still nice in the spec). Well, there would be problems in the other direction rather than from USENET to Lotus Notes; Lotus Notes _can_ handle binary files. That is one of its main purposes. > I believe that yEnc will also spread quickly to eMail - and perhaps > other areas where encoding is used (XML). Especially for XML the > '>' must be also an encoded character. I don't share your opinion that yenc will spread to e-mail quickly, at least not as a genuine transfer encoding. MTAs do reconversion on a regular basis, for example from 8bit to quoted-printable and back, and it is very likely that a file sent in yenc format will be reencoded in quoted-printable or base64. Most advantages of yenc will be lost if this is done. Regarding your XML "problem": You still don't make distinctions between different application levels. If you want to transport XML files using yenc format, you don't need an encoding of special XML characters; the yenc encoding would have been undone before the XML parser will see the file. If you think of embedding yenc encoded files in XML, then the creator of the file has to take care of special XML characters (you obviously mean '<' and not '>', '&' is another special character); the XML parser reading the file will automatically remove any XML encoding before passing the contents to any processing instance.
Technical Details
Message-ID:
<a5bcol$8fb$02$1@news.t-online.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!sn-xit-02!supernews.com!news-x2.support.nl!news.csl-gmbh.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a50smo$ri6$00$1@news.t-online.com> <19098.l22202@archiver.winews.net> <a53efp$v5l$04$1@news.t-online.com> <17448.m22209@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <a5bcol$8fb$02$1@news.t-online.com> Subject: Re: [yEnc] some newbie questions Date: Sun, 24 Feb 2002 19:52:06 +0100 From: Dirk Nimmich <nimmich@muenster.de> References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a50smo$ri6$00$1@news.t-online.com> <19098.l22202@archiver.winews.net> <a53efp$v5l$04$1@news.t-online.com> <17448.m22209@archiver.winews.net> 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!sn-xit-02!supernews.com!news-x2.support.nl!news.csl-gmbh.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 85 Sender: Dirk Nimmich <dirk@roxel.ms.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1014576726 02 8683 Jt+ITIXTSEAsY- 020224 18:52:06 X-Complaints-To: abuse@t-online.com X-Sender: 340032227593-0001@t-dialin.net