V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  xu123456789  ›  全部回复第 1 页 / 共 1 页
回复总数  5
2015 年 11 月 21 日
回复了 xu123456789 创建的主题 Python 模拟登录这个网站获取的中文信息出现乱码
@ericls 怎么使用
2015 年 11 月 21 日
回复了 xu123456789 创建的主题 Python 模拟登录这个网站获取的中文信息出现乱码
有人能写个模拟登录 V2EX 不出乱码的代码给我吗?
2015 年 11 月 21 日
回复了 xu123456789 创建的主题 Python 模拟登录这个网站获取的中文信息出现乱码
@meloncrashed python3 好多东西不支持
2015 年 11 月 21 日
回复了 xu123456789 创建的主题 Python 模拟登录这个网站获取的中文信息出现乱码
@haozhang 'Content-Type': 'text/html; charset=UTF-8'
用这个解码 html.content.decode('utf-8')
报下面错误
UnicodeEncodeError: 'gbk' codec can't encode character u'\u203a' in position 15440: illegal multibyte sequence
2015 年 11 月 21 日
回复了 xu123456789 创建的主题 Python 模拟登录这个网站获取的中文信息出现乱码
'Content-Type': 'text/html; charset=UTF-8'
用这个解码 html.content.decode('utf-8')
报下面错误
UnicodeEncodeError: 'gbk' codec can't encode character u'\u203a' in position 15440: illegal multibyte sequence
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   826 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:25 · PVG 04:25 · LAX 13:25 · JFK 16:25
♥ Do have faith in what you're doing.