会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
holy_black_cat
博客园
首页
新随笔
联系
订阅
管理
2016年12月11日
判断一个字符串中是否含有中文字符:
摘要: python中的encode和decode: 首先,在Python中字符串的表示是 用unicode编码。所以在做编码转换时,通常要以unicode作为中间编码。 decode的作用是将其他编码的字符串转换成unicode编码,比如 a.decode('utf-8'),表示将utf-8编码的字符串转
阅读全文
posted @ 2016-12-11 16:54 holy_black_cat
阅读(11163)
评论(0)
推荐(1)
编辑
公告