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

pycharm执行run.py时,会在执行case前后出现gbk编码错误的错误提示,命令行启动则不会 #2

Closed
Chen-Ed opened this issue Oct 16, 2023 · 3 comments

Comments

@Chen-Ed
Copy link

Chen-Ed commented Oct 16, 2023

image
image

@ae86sen
Copy link
Owner

ae86sen commented Oct 17, 2023

看下pycharm的console encoding是否设置为utf-8

@Chen-Ed
Copy link
Author

Chen-Ed commented Oct 17, 2023

看下pycharm的console encoding是否设置为utf-8

是的呀 是utf-8
1697513233272
不过好像跟这个没啥关系?我切换成gbk启动过,直接启动不起来。
1697513590994

@Chen-Ed
Copy link
Author

Chen-Ed commented Oct 17, 2023

在作者的帮助下解决了这毛病!是pycharm引起的,把这两处pycharm设置为utf8就好了
cb11a6104432c1fbe88db73cd49338d
4c6253fc6db2151cf88ee163c97e949
1697519860059

@ae86sen ae86sen closed this as completed Oct 17, 2023
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