'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)——引用
摘要:
在Django视图函数中经常出现类似于'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)的错误。 在解决错误之前,首先要了解unicode和utf-8的区别。 unicode指的是万国码,是一种“... 阅读全文
posted @ 2014-10-09 16:34 shellnalu 阅读(642) 评论(0) 推荐(0) 编辑