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

Execute python ./split_data.py Error #2

Open
Daniel19960601 opened this issue Feb 11, 2020 · 4 comments
Open

Execute python ./split_data.py Error #2

Daniel19960601 opened this issue Feb 11, 2020 · 4 comments

Comments

@Daniel19960601
Copy link

Hi, An error occurred while executing python "python ./split_data.py", err-msg "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte". What should I do? tks.

@howl-anderson
Copy link
Owner

Hi, What's your OS and python version?

@Daniel19960601
Copy link
Author

Hi, What's your OS and python version?

Win10 and Python 3.6.2

@Beaujor
Copy link

Beaujor commented Apr 15, 2020

因为Windows下的原因,生成的文件data_False-True-True-False-False-False-False.conllu和data_False-True-True-True-True-True-False.conllu的编码格式不对,用notepad++打开转成utf-8,再运行就可以了。

@howl-anderson
Copy link
Owner

@Daniel19960601 @Beaujor I never test this package on Windows and I strongly recommend the user to use Linux or Mac OS. Unicode problems are common in the Windows platform which is well known.

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

3 participants