1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【備忘録】atom-runnerで、日本語が文字化けする

Posted at

現象

Atomのatom-runnerを使用したときに、「hello」は表示できても、「こんにちは」で文字化けが発生。

print('hello')
print('こんにちは')

image.png

解決策

C:/Users/○○(ユーザー名)/.atomの中にあるinit.coffeeを開き、
process.env.PYTHONIOENCODING = "utf-8";を追加する。

追加したらAtom再起動して確認してください。

image.png

以上!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?