Article View: news.software.nntp
Article #63025Re: Is MIME dead on Binary Usenet ? (2nd try)
From: Claus Färber
Date: Sat, 11 Jan 2003 10:21
Date: Sat, 11 Jan 2003 10:21
95 lines
4845 bytes
4845 bytes
--=_8dd01j7ocDZFOF37wB0DAA8kj3ni2GnVJORVL99PQLd39nTTa2F7mWT
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Jango Fett's Clone <jango_fetts_clone@yahoo.com> schrieb/wrote:
> On 10 Jan 2003 20:43:00 +0200, claus-usenet-20030110@faerber.muc.de
> (Claus F=C3=A4rber) wrote:
>> Huh, these are not agruments against MIME. MIME solves the problem by
>> clearly seperating text and binary content. UUEncode does not but uses a
>> small subset of ASCII. yEnc, on the other hand, will run into these
>> problems.
> I have done successful tests with text, a uuencoded attachment and a
> yEnc encoded attachment in the same message. No problems at all found
> on the decoding end using several different newsreaders (OE, Agent,
> Zeonews, Netscape, and another one that I can't remember), other than
> the lack of support for yEnc in a couple of the newsreaders (easily
> solved with yProxy), so I don't see what the problem is with mixing
> both(text and binary) in one message.
There are several problems:
Problem #1 (yEnc and UUENCODE):
begin 666 no-attachment.txt
This is not an attachment but many newsreaders will incorrectly display
this part of the message as one.
end
(Note that this is not a problem if you include a yEnc attachment as a
seperate MIME entity.)
Problem #2 (yEnc only):
I just cut and pasted the following attachment into my newsreader:
=3Dybegin line=3D128 size=3D6 name=3Dtest.txt
=0E &=3DI74
=3Dyend size=3D6 crc32=3DE47D118B
It's corrupted because my newsreader uses different charsets for editing
(IBM437) and transmission (ISO-8859-1). This is common on any system
that uses a non-ISO charset, e.g. DOS, OS/2 and Macs. It's also becoming
more and more common on Windows, the newest versions of Outlook already
convert Windows-1252 (e.g.) to ISO-8859-1 or ISO-8859-15.
(Note that this is not a problem if you include a yEnc attachment as a
seperate MIME entity.)
Even if you could extract it, you would have to guess the charset in
order to view the content ("=C3=A4=C3=B6=C3=BC=C3=9F") correctly.
I'm also attaching the example as a yEnc-encoded file and directly for
demonstration purposes.
Problem #3 (yEnc only):
It's impossible to use UTF-8. You can either encode yEnc in UTF-8, which
gives you a size penalty (~ 50%) exceending that of base64 (~ 33%), or
you can simply include the data as-is, which results in invalid UTF-8
sequences.
(Note that this is not a problem if you include a yEnc attachment as a
seperate MIME entity.)
Well, there's a quick fix to all of these three: Define a new media type
(e.g. application/yenc) and use it. Then yEnc would be just yet another
archiver/file splitter/encoder format that can be sent with MIME.
Claus
--=20
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
--=_8dd01j7ocDZFOF37wB0DAA8kj3ni2GnVJORVL99PQLd39nTTa2F7mWT
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename=test.txt;
modification-date="Sat, 11 Jan 2003 12:08:53 +0200";
creation-date="Sat, 11 Jan 2003 12:08:53 +0200";
read-date="Sat, 11 Jan 2003 12:08:53 +0200"
����
--=_8dd01j7ocDZFOF37wB0DAA8kj3ni2GnVJORVL99PQLd39nTTa2F7mWT
Content-Type: application/yenc
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline; filename=test.txt.ntx;
modification-date="Sat, 11 Jan 2003 12:02:06 +0200";
creation-date="Sat, 11 Jan 2003 12:02:06 +0200";
read-date="Sat, 11 Jan 2003 12:02:06 +0200"
=3Dybegin line=3D128 size=3D6 name=3Dtest.txt=20
=0E &=3DI74
=3Dyend size=3D6 crc32=3DE47D118B
--=_8dd01j7ocDZFOF37wB0DAA8kj3ni2GnVJORVL99PQLd39nTTa2F7mWT--
Technical Details
Message-ID:
<8dd$njcJcDD@3247.org>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!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.space.net!news.muc.de!faerber.muc.de!clausReferences:
<0421d.a1320q@archiver.winews.net> <8d$Uog0ocDD@3247.org> <sd0v1vsp3nebq9jhdl8v2q36dfcksfrsc3@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <8dd$njcJcDD@3247.org> Subject: Re: Is MIME dead on Binary Usenet ? (2nd try) Date: Sat, 11 Jan 2003 10:21:00 +0000 From: claus-usenet-20030111@faerber.muc.de (Claus Färber) References: <0421d.a1320q@archiver.winews.net> <8d$Uog0ocDD@3247.org> <sd0v1vsp3nebq9jhdl8v2q36dfcksfrsc3@4ax.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.space.net!news.muc.de!faerber.muc.de!claus Newsgroups: news.software.nntp User-Agent: OpenXP/32 v3.9.3 (Win32) alpha @ 2003-01-11-1110d MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_8dd01j7ocDZFOF37wB0DAA8kj3ni2GnVJORVL99PQLd39nTTa2F7mWT" Content-Transfer-Encoding: 8bit Lines: 94