unicode --> utf-8(中文) unicode --------------------------->> bytes --------------------------->> utf-8(中文) unicode.encode() bytes.decode("utf-8") utf-8(中文) --> unicode utf-8(中文) --------------------------->> bytes --------------------------->> unicode utf-8(中文).encode("utf-8") bytes.decode()
unicode,bytes,中文(utf-8/gbk) 编解码 | python
猜你喜欢
转载自www.cnblogs.com/pymkl/p/9073082.html
今日推荐
周排行