On 8/10/06, "Faris Xiao (肖盛文)" <[EMAIL PROTECTED]> wrote:

什么命令能够将 GB18030 编码的汉字转换成 base64 编码的?

有直接的命令吗?

iconv 唯独没有 base64 编码

1. 你概念错了

2.
$ cat 1.txt | python -c "import sys, base64; base64.encode(sys.stdin,
sys.stdout)"


--
LI Daobing

回复