🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #793

Re: utf-8 in filename of Content-Disposition: attachment;

#793
From: Hans Galema
Date: Mon, 30 Jan 2006 20:41
19 lines
1638 bytes
Remy Lebeau (TeamB) wrote:

>     UTF-8
>     B
>     c2FtZW4gbWV0IEFuZHLDqSBraWprZW4gbmFhciBQYXNjYWwuanBn
> 
> The 'UTF-8' is the encoding used for the original data.  The 'B' is the
> transmission encoding for the encoded data.  In this case, 'B' means that
> base64 is used.  So, to get the original filename, you have to first decode
> the contents of the third field with base64, and then decode the resulting
> data with UTF-8 to get the original value.

B == base64.

Very good info.

Thank you.

Hans.
Technical Details
Message-ID: <43de79f3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <43de245b$1@newsgroups.borland.com> <43de5578$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,9857a2e9199d6815
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 30 Jan 2006 21:41:53 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: utf-8 in filename of Content-Disposition: attachment;
References: <43de245b$1@newsgroups.borland.com> <43de5578$1@newsgroups.borland.com>
In-Reply-To: <43de5578$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <43de79f3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138653683 145.98.201.248 (30 Jan 2006 12:41:23 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail