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

train.txt的编码格式应该是什么呢? #3

Open
BaoyanWang opened this issue Mar 17, 2017 · 1 comment
Open

train.txt的编码格式应该是什么呢? #3

BaoyanWang opened this issue Mar 17, 2017 · 1 comment

Comments

@BaoyanWang
Copy link

File "CN.train.txt", line 1
SyntaxError: Non-ASCII character '\xe4' in file CN.train.txt on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

运行出错了,,,麻烦您指导下文件格式的准备,谢谢

@wangxggc
Copy link
Owner

gbk编码

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

No branches or pull requests

2 participants