我用的python3.3,ubuntu 系统,默认utf8,但是网页是GBK编码格式,如果想发贴必须转成GBK格式,所以,如果
data=input()
这样得到的data字符串(utf8格式),如何转换成GBK格式字符串?
莫回无
暮色呼如