🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57963

Re: Ping: group -- What Microsoft is thinking about binary attachme

#57963
From: Claus Färber
Date: Sat, 06 Apr 2002 21:55
41 lines
2856 bytes
Joe Feser <nntp@fesersoft.com> schrieb/wrote:
> "Claus F�rber" <claus-usenet-20020405@faerber.muc.de> wrote in message
>> Er, which charset does yEnc use to translate octets to characters?

> Hmm, I don't know why I didn't think about this.
> There is no charset per say, just a range of bytes from 0-255.
[...]
> Example, if you had Chineese text, it would encode and transmit fine, just
> like it would if it was base64, the problem is that no newsreader could make
> an intelligent choice on how to display it.

You've slightly missed the problem. If people elect to send text  
files in yEncoded form, they get precisely what they deserve.  
After all, yEnc not even has a file type label.

The problem I was alluding to is different: XML's CDATA sections  
contain characters, not octets. However, yEnc files are composed  
of octets, not characters. So how to you actually put yEnc files  
into an XML CDATA section, as J�rgen said the format would allow?

Especially, consider the following situations:
. The XML file is in UTF-8 or another multibyte charset.
. The XML file is translated from one charset to another.

The bottom line: You can't include yEnc in XML CDATA. You have to  
map the octets to characters first.

Also note that with the most obvious encoding, mapping the  
possible octet values to U+0000..U+00FF, you get (a) an encoding  
very similar to ISO-8859-1, (b) invalid characters in the range  
U+0080..U+009F, and (c) a horribly inefficient encoding when  
another charset (UTF-8, US-ASCII, ISO-8859-7,...) is used.

The same problem also arises if you include yEnc files in the text  
part of a mail or news message, BTW.

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID: <8MMJM0sZcDB@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.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus
References: <amqmaug84r0b1li5tu6t6no556bm374s7p@4ax.com> <02376.442200@archiver.winews.net> <8MMC82kocDB@3247.org> <3caf26e0$0$3103$2c3e98f8@news.voyager.net>

Show Full Headers
Complete Article Headers
Message-ID: <8MMJM0sZcDB@3247.org>
Subject: Re: Ping: group -- What Microsoft is thinking about binary attachme
Date: Sat, 06 Apr 2002 21:55:00 +0000
From: claus-usenet-20020406@faerber.muc.de (Claus Färber)
References: <amqmaug84r0b1li5tu6t6no556bm374s7p@4ax.com> <02376.442200@archiver.winews.net> <8MMC82kocDB@3247.org> <3caf26e0$0$3103$2c3e98f8@news.voyager.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!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus
Newsgroups: news.software.nntp
User-Agent: OpenXP/32 v3.7.7 (Win32) beta @ 2002-03-17-1459d
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 40