[PYTHON] [Note] Japanese characters are garbled with atom-runner

phenomenon

When using the atom-runner of the Atom, "hello" it is also able to display, garbled in "Hello" occurs.

print('hello')
print('Hello')

image.png

solution

Open ʻinit.coffee in C: /Users/○○(username)/.atomand open Addprocess.env.PYTHONIOENCODING =" utf-8 ";`.

After adding, restart Atom and check.

image.png

that's all!

Recommended Posts

[Note] Japanese characters are garbled with atom-runner
Windows Qt5.4 Python3.4 QProcess Japanese garbled characters
Create an image with characters in python (Japanese)
How to deal with the problem that Japanese characters are garbled when outputting logs using JSON log formatter
Japanese with matplotlib
[EC2] Prevent garbled characters when capturing with selenium
Fix garbled characters when handling Japanese in Requests
[Python] How to handle Japanese characters with openCV
[Python] Read Japanese csv with pandas without garbled characters (and extract columns written in Japanese)
The story that Kivy's Japanese input characters are displayed
[EC2] Prevent garbled Japanese characters on selenium (noto compatible)
Segfault with 0 characters with gcc
Japanese input with pyautogui
Speaking Japanese with OpenJtalk
Segfault Python with 33 characters
Eliminate garbled Japanese characters in JSON data acquired by API.
Eliminate garbled Japanese characters in Python library matplotlib and NetworkX
Kanji ranking BEST20 (UTF8 → SJIS) that appeared with garbled characters
[Linux] How to deal with garbled characters when viewing files