作者scottnien (小粘)
看板Programming
标题Re: [C#]有关mail Encoding的问题
时间Sun Jun 11 22:32:31 2006
※ 引述《[email protected] (程式设计代工^^)》之铭言:
: 最近在写收信程式, 可是收到的信件有很多部份出现乱码!
: 例如以下资讯:
: =================================
: subject: =?utf-8?B?RG90IE5ldOeoi+W8j+ioreioiOacn+S4reS9nOalrQ==?=
: content-type: text/plain; charset=utf-8
: content-transfer-encoding: base64
: 5ris6KmmDQoxMjMNCnRlc3QNCi4uLg0KLg0K5aSp44Sa
: ..
: ==================================
: 看样子势必要用utf-8重新编码, 请问要如何实作呢??
你应该是先用base64 解码後 (此时是utf-8) 再转成ucs16
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.105.128.227