Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

好像编码有点问题…… #26

Open
StarRaven opened this issue Nov 22, 2017 · 7 comments
Open

好像编码有点问题…… #26

StarRaven opened this issue Nov 22, 2017 · 7 comments

Comments

@StarRaven
Copy link

Traceback (most recent call last):
File "main.py", line 33, in
print value
UnicodeEncodeError: 'gbk' codec can't encode character u'\xa0' in position 3: illegal multibyte sequence

歌名貌似是这个
I'm Yours Under the Mistletoe(Cover Jason Mraz / Justin Bieber)

是全角括号吗……

@StarRaven
Copy link
Author

You and I 【灿白1126四周年纪念】
这个也不行……

@atlas-comstock
Copy link
Owner

@StarRaven 用的是 windows 的 cmd 运行吗?

@StarRaven
Copy link
Author

@yonghaowu 嗯嗯是cmd,我是英文系统

@atlas-comstock
Copy link
Owner

@StarRaven 这个问题要稍微等等,我周末解决一下

@BlackHole1
Copy link

@yonghaowu 遇到同样的问题,请问什么时候修复?

@atlas-comstock
Copy link
Owner

@BlackHole1 既然大家呼声那么高,我这周末前,用 windows虚拟机修复下这个问题。。

@atlas-comstock
Copy link
Owner

@BlackHole1 @StarRaven
可否麻烦试试在运行脚本前, 在命令行运行这个命令?
chcp 65001
https://www.zhihu.com/question/20723684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants