UnicodeDecodeError while using json.dumps()
2024-10-16 04:08:09
UnicodeDecodeError
系统、文件、vim全部设置为utf-8
export LANG=zh_CN.UTF8
# coding:utf-8
json.dumps(content, ensure_ascii=False, encoding='utf-8')
http://stackoverflow.com/questions/19872773/unicodedecodeerror-while-using-json-dumps
最新文章
- Oracle 哈希连接原理
- PAT 5-8 File Transfer (25分)
- out与ref的区别
- Linux(CentOS)常用操作指令(一)
- poj 1067 取石子游戏(威佐夫博奕(Wythoff Game))
- PHP 错误与异常 笔记与总结(13 )自定义异常类
- uva167 - The Sultan's Successors
- poj3468,poj2528
- @override
- Stub和Mock的理解
- Redis Cluster 实践
- Emmet 快速编写html代码
- 自己编写的 C++ 超轻量级日志类
- su和sudo的区别
- 初步学习python
- LINUX中printf与echo的区别
- Jenkins redeploy artifacts
- webpack学习笔记—优化缓存、合并、懒加载等
- the usage of String
- 22LINQ查询运算符返回IEnumerable<;T>;实例汇总