atom-community / atom-community/atom-script

Why the python encoding in Atom is different with terminal?

Open
#1,493 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

In Atom, when I `print(sys.stdout.encoding)`, it shows `US-ASCII`.

But in terminal, it shows `UTF-8`, how can I change the atom python encoding to be same as terminal?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.