Article View: news.software.nntp
Article #57427Re: [yEnc] A small MIME fix
From: Nuutti Kotivuori
Date: Tue, 19 Mar 2002 19:37
Date: Tue, 19 Mar 2002 19:37
85 lines
4259 bytes
4259 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: > >> application/x-yyencoded >> Comments? > > You can search on Google in the group "comp.mail.mime" for "yenc". > There you will see also some comments. > >> How about doing a simple quickfix to yEnc draft about MIME. > > The actual yEnc draft _is_ the "quick fix". > > The biggest problem with this kind of "quick fix" is that it will > never permit to write a MIME-decoder which decodes yEnc properly. > It will stay _always_ a "workaround" where a MIME decoder within a > newsreader will have to scan the "application/xxxxx" to make > decisions about the encoding. Yes I agree. But in my opinion, yEnc will always be the encoding where _every_ newsreader application will have to scan the body to make decisions about the encoding. So I don't think yEnc is salvageable in this sense - we need to make a yEnc lookalike content-transfer-encoding - and then transfer the metadata from the body of the message to the MIME-headers (even if they would reside physically inside the body). > When I made this proposal (in Oct 2001) I also faced the problem > that the "filename" must be modified: You cant use the "original" > filename, because a MIME-decoder which does not understand > yEnc will store a "picture.jpg" as "picture.jpg" - which is then a > file with the JPG extension - but still yEncoded. An external > yDecoder would have to _replace_ the source-file by the > decoded output. Yes, the MIME-filename should not be the internal filename. > Another idea was to use "picture.jpg.ync" as MIME-filename. > (Another ugly hack as consequence). One possibility. > Or to add the real name only within the MIME-part I personally think that the MIME headers should not say anything about the filename. > (=ybegin - line) which keeps the problem that the charset > for the filename is still unsolved...... Well that is a problem in the yEnc draft - with or without MIME. > This is not written to discourage you. > Thanks for making proposals - and triggering people to > think about the subject again. I think you are passing this subject off a bit too hastily. I am not saying that a solution like this would help parsing yEnc messages _at all_. This thing is only geared towards solving one problem: Make yEnc not show as garbage to those who stumble on such a message with a MIME-capable newsreader. And this does not require the posting nor the decoding software to understand a donkey's kidneys' worth of MIME - just adding three hardcoded lines or ignoring them like all unknown headers. All it does is make it display nicely on the MIME capable but yEnc unaware newsreader. > I can only recommend to read all the old discussions > about yEnc & MIME. These groups were used: > news.software.nntp > comp.mail.mime > alt.binaries.news-server-comparison I haven't read all of them, though some I have. I hope you don't pass this up as a rehash of an old issue before you have really verified that this is the same old issue I'm talking about. -- Naked
Technical Details
Message-ID:
<87wuw8bb8f.fsf@iki.fi>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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<87k7s9d7tr.fsf@iki.fi> <51039.j32205@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <87wuw8bb8f.fsf@iki.fi> Subject: Re: [yEnc] A small MIME fix Date: Tue, 19 Mar 2002 21:37:04 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <87k7s9d7tr.fsf@iki.fi> <51039.j32205@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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 84 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1016566847 9813 213.243.183.115 (19 Mar 2002 19:40:47 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 19 Mar 2002 19:40:47 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:m+c0Iar4V9kFo4eQ/6TJUUMWX84=