Skip to content

Console logging output can not display non-ASCII charactors correctly #2152

Answered by PHPirates
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Okay I installed the kaiti and simhei fonts and can reproduce the problem on Windows, and for me it looks even worse:

but I think I found a solution: go to Help > Edit custom VM options, add -Dfile.encoding=UTF-8 and restart PyCharm. Does that solve it for you as well?

If it works, we should definitely add this to the wiki.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PHPirates
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2143 on December 01, 2021 16:18.