🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56844

Re: [yEnc] some newbie questions

#56844
From: Liyang Hu
Date: Sat, 23 Feb 2002 11:21
27 lines
2383 bytes
The Archiver <archiver@i3w.com> wrote:
> curt@kcwc.com (Curt Welch) wrote:
>>Base 251 encoding would be a lot of math overhead and produce
>>almost exactly the same expansion as the escape expansion already
>>defined for yEnc.
> Just a short comment here:
> During the design of yEnc I was not sure which characters really needed
> to be encoded - and I still have no idea about leading/trailing spaces/tabs
> or other special characters when it comes to eMail or XML.

> In yEnc you simply add another escape code - and still use the same
> method. I'd be really curious how you want to make Base251 as 
> flexible as yEnc.

Not sure what Curt meant, but going with base 224, you can take any
arbitrary map (injection) of the symbols 0 to 223 to any subset of 0
to 255, as long that subset only contains permitted characters.

Of course, I'm making the assumption that we have at least 224
permitted characters.

/Liyang
-- 
.--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--.
| Real programmers don't comment their code.                             |
| It was hard to write, it should be hard to understand.                 |
Technical Details
Message-ID: <a57tvf$86r$1@pegasus.csx.cam.ac.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!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!news-hub.cableinet.net!blueyonder!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20> <20020221164013.542$dP@newsreader.com> <41328.m22208@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <a57tvf$86r$1@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] some newbie questions
Date: Sat, 23 Feb 2002 11:21:19 +0000
From: Liyang Hu <newsgroups@nerv.cx>
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20> <20020221164013.542$dP@newsreader.com> <41328.m22208@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.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!news-hub.cableinet.net!blueyonder!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Cambridge, England
Lines: 26
Sender: Liyang Hu <lh259@portal.acad.cai.cam.ac.uk>
NNTP-Posting-Host: portal.acad.cai.cam.ac.uk
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.17-xfs+lvm10+intl (i686))