Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : how can i decode the unicode string in attachmemt using TIdPop3

www.cryer.info
Managed Newsgroup Archive

how can i decode the unicode string in attachmemt using TIdPop3

Subject:how can i decode the unicode string in attachmemt using TIdPop3
Posted by:"Huang Xiaobin" (hxbtoug..@yahoo.com.cn)
Date:Mon, 13 Mar 2006 22:39:59

Hi All,

below is one of my receive bodies using TIdPop3. as you can see, this
body is encoded with base64, but indy can not properly decode it, how can I
do?

thanks

------------=_1142252755-6376-0
Content-Type: text/plain; name="attachmemt.txt"
Content-Disposition: inline; filename="attachmemt.txt"
Content-Transfer-Encoding: base64

uL28/sTayN0=                                 //actually content is a unicode
string with 8 bytes

------------=_1142252755-6376-0--

Replies:

www.cryer.info
Managed Newsgroup Archive