🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61875

Re: programming yenc decoder

#61875
From: kjhjk
Date: Fri, 08 Nov 2002 17:03
60 lines
2428 bytes
> Never put =ybegin on a line by itself in a news article if you
> want people to see it.  Anyone using a newsreader which supports
> yEnc will think the rest of your article is yEnc data.

OK !!


> > * my decoder output :
> >
> > FF EO 00 10 4A 46 49 46 00 01 02 01 00 48
> >
> > 5 bytes before "JFIF" sequence (4A 46 49 46)
> 
> You only show 4 bytes before JFIF

exact, because I delete programmatically the first byte
I will correct my code

> 
> > * another decoder output :
> >
> > FF D8 FF EO 00 10 4A 46 49 46 00 01 02 00 48
> > 6 bytes before "JFIF" sequence (4A 46 49 46)


> My decoder output this for the data you included above:
> 
>  ff ff e0 00 10 4a 46 49

same output as mine except for the first byte I delete


> 
> Maybe that is what your's also did?
> 
> > * what's wrong with my code ?
> >
> 
> Looks correct other than the strange stuff inside ascii().

some caracteres not well transported by nntp
read "code ascii($ligne($i))"

> 
> The 6 byte version is a valid JPG file, the 5 byte version isn't.
> 
> The data you posted does decode to a 5 byte version.  There seems to be a
> ^B missing from the yEnc data in order to make it decode correctly.  What
> happened to that missing ^B?

thanx !!

and sorry for my english

-- 
anti-spam email address :
- enlevez "NOSPAM" avant de repondre
- please remove "NOSPAM" from email address 
Technical Details
Message-ID: <kjhjkNOSPAM-ED9398.18030908112002@news.completel.fr>
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.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!kleenex.wirehub.nl!news.completel.fr!kjhjkNOSPAM
References: <kjhjkNOSPAM-446B6C.13100008112002@news.completel.fr> <20021108104338.720$GI@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <kjhjkNOSPAM-ED9398.18030908112002@news.completel.fr>
Subject: Re: programming yenc decoder
Date: Fri, 08 Nov 2002 18:03:09 +0100
From: kjhjk <kjhjkNOSPAM@hotmail.com>
References: <kjhjkNOSPAM-446B6C.13100008112002@news.completel.fr> <20021108104338.720$GI@newsreader.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.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!kleenex.wirehub.nl!news.completel.fr!kjhjkNOSPAM
Newsgroups: news.software.nntp
Organization: completel
Lines: 59
NNTP-Posting-Host: wan.nordcompo.fr
X-Trace: d03.completel.fr 1036775039 11800 213.30.174.252 (8 Nov 2002 17:03:59 GMT)
X-Complaints-To: abuse@completel.fr
NNTP-Posting-Date: Fri, 8 Nov 2002 17:03:59 +0000 (UTC)
User-Agent: MT-NewsWatcher/3.1 (PPC)