2006年04月06日 星期四 19:08
unicode.encode(u"石玉",'gbk')
u"石玉".encode('gbk')
在 06-4-5,石玉<op33 at 163.com> 写道:
> python-chinese-request,您好!
>
> 各位大侠,请问怎么用python把unicode编码转换成gbk码呀?
>
>
>
> 致
> 礼!
>
>
> 石玉
> op33 at 163.com
> 2006-04-05
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
Zeuux © 2025
京ICP备05028076号