查看文章 |
base64的邮件解码,linux
2009-09-16 22:08
今天遇到了邮件乱码,内容如 ------=_1253007398_12352.html Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 RGVhciBBbGwsDQoNClBsZWFzZSBub3 Lg0KDQpSZWdhcmRzLg0KSmlhenUNCg KioqKioqKioqKioqIA0KRGVhciBQcm 方法1: openssl base64 -d < encodedfile > decoded.txt 方法2: cat encodedfile | base64 -d > decoded.txt |
最近读者: