镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add encoding='utf-8' for open function - #20

Open
dou3516 wants to merge 1 commit into
lijin-THU:masterfrom
dou3516:patch-1
Open

dou3516 wants to merge 1 commit into
lijin-THU:masterfrom
dou3516:patch-1

Conversation

@dou3516

@dou3516 dou3516 commented Feb 16, 2019

Copy link
Copy Markdown

Windows takes 'gbk' as default, which lead to error ''gbk' codec can't encode character '. Add encoding='utf-8' for open function.

Windows takes 'gbk' as default, which lead to error ''gbk' codec can't encode character '. Add encoding='utf-8' for open function.
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

Successfully merging this pull request may close these issues.

1 participant