🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68529

yEnc decoding question

#68529
From: Gord
Date: Thu, 11 Mar 2004 22:03
24 lines
1886 bytes
Hi all

Thanks to Curt I have greatly improved the filtering of Usenet
messages going into my database.

I'm currently working on yEnc decoding of multi part binaries and have
run into a snag.

At first I simply wrote the information into a text file and attempted
to decode that. Treating binary information as text doesn't work too
well and I've switched to simply grabbing the bytes as they come in
and doing a binary write out to a single text file.

Now all the information is correctly in the text file but there appear
to be control characters messing with the formatting. All the
information appears to be tabbed and there are many broken lines.

Anyone have experience dealing with this? 

Any and all help appreciated.

TIA
Gord
Technical Details
Message-ID: <j9o150lbrn61b8mp0phu8f7v573ik40mbu@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!cyclone.bc.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps84.POSTED!not-for-mail
References: <n3b740p7nioh4h8c89crsbu05risnmf9hb@4ax.com> <87ishoz18r.fsf@windlord.stanford.edu> <ohqe40pf99idk7h03k14ldrkju8mhc6f2s@4ax.com> <20040304154419.726$DF@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <j9o150lbrn61b8mp0phu8f7v573ik40mbu@4ax.com>
Subject: yEnc decoding question
Date: Thu, 11 Mar 2004 22:03:40 GMT
From: Gord <gord_muir@nospam_hotmail.com>
References: <n3b740p7nioh4h8c89crsbu05risnmf9hb@4ax.com> <87ishoz18r.fsf@windlord.stanford.edu> <ohqe40pf99idk7h03k14ldrkju8mhc6f2s@4ax.com> <20040304154419.726$DF@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!cyclone.bc.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps84.POSTED!not-for-mail
Newsgroups: news.software.nntp
Reply-To: gord_muir@nospam_hotmail.com
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
NNTP-Posting-Host: 142.179.103.227
X-Trace: edtnps84 1079042620 142.179.103.227 (Thu, 11 Mar 2004 15:03:40 MST)
NNTP-Posting-Date: Thu, 11 Mar 2004 15:03:40 MST