取以下utf-8字符串的字节: 访视频 将这些字节编码为latin-1并打印结果: 访视é¢' 如何在Python中执行此操作? # -*- coding: utf-8 s = u'访视频'.encode('latin-1')
確定! 回上一頁