!/usr/bin/env python. -- coding: utf-8 --. s = '中文' s.decode('utf-8').encode('gb2312') ```. 更改sys.defaultencoding 为文件的编码方式 ...
確定! 回上一頁