文章分类 - 摘抄
摘要:原文出处:http://www.jb51.net/article/17560.htm为什么会报错“UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)”?本文就来研究一下这个问题。--------------------------------------------------------------------------------字符串在Python内部的表示是unicode编码,因此,在做编码转换时,通常需要以un
阅读全文
浙公网安备 33010602011771号