🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69048

Re: encoded attachment filenames

#69048
From: Dr.Ruud
Date: Fri, 23 Apr 2004 21:17
49 lines
2299 bytes
Toen ik toylet kietelde, kwam er dit uit:

> Is there a tool that could decode file names like this?
> uudeview could extract the file, couldn't decode the "name=" into 8-bit
> characters directly. ANd does it have a magic option to do it?
>
> ------=_NextPart_000_000E_01C41CF6.07BD3730
> Content-Type: image/jpeg;
>          name="=?big5?B?rPWop6Rkpn4uanBn?="
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>          filename="=?big5?B?rPWop6Rkpn4uanBn?="

A jpeg in big5-encoding: will the skin color and the shape of the eyes
be changed while decoding? <g>

If you are really interested in the original byte-codes of the file name,
you could use my 'just procmail' approach:
http://www.xs4all.nl/~rvtol/procmail/
(see inc\b64.inc and inc\b64.inc.inc)


test.rc:
  VERBOSE   = no
  DEFAULT   = /dev/null
  NL        = "
"  # yes, an embedded LF

  b64_Input = "rPWop6Rkpn4uanBn"
  INCLUDERC = $HOME/rcdir/inc/b64.inc
  LOG       = "$b64_Return$NL"


command:
  procmail ./test.rc < /dev/null


output:
  <172><245><168><167><164><100><166><126><46><106><112><103>


-- 
Affijn, Ruud   `  -  �
               + ` � *
                 � `
               �  =  `


Technical Details
Message-ID: <c6c8a0.1bk.1@news.isolution.nl>
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!news2.google.com!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
References: <408691e9$1_1@rain.i-cable.com>

Show Full Headers
Complete Article Headers
Message-ID: <c6c8a0.1bk.1@news.isolution.nl>
Subject: Re: encoded attachment filenames
Date: Fri, 23 Apr 2004 23:17:46 +0200
From: "Dr.Ruud" <'t.leven.is.fijn@life.i$.great>
References: <408691e9$1_1@rain.i-cable.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!news2.google.com!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
Reply-To: "Dr.Ruud" <(rvtol+news(AT)hacktic.nl) Administrator@[127.0.0.1]>
Newsgroups: news.software.nntp
Organization: Chaos rules.
X-Newsreader: WMDIYB
Approved: yesterday
X-Face: &CQ$FIr!=+=w,8`0Q^Ug"1>F[(/op8->E;NQet`5fe$;=e*!Z5&REvp<~Tj|"Y[|8OcJ{w#z&mB7B:I)XO*%_|\]|YW$C>>$Q[9-#K~c$tQ^Mf0,wMo?h\C)TE>f
Lines: 48
NNTP-Posting-Date: 23 Apr 2004 23:23:07 CEST
NNTP-Posting-Host: 194.109.164.102
X-Trace: 1082755387 news.xs4all.nl 64453 [::ffff:194.109.164.102]:33753
X-Complaints-To: abuse@xs4all.nl