回答編集履歴

2

追記

2017/11/24 01:27

投稿

quickquip
quickquip

スコア11038

test CHANGED
@@ -58,7 +58,7 @@
58
58
 
59
59
  - Pythonのコードで事前に[locale.setlocale](http://docs.python.jp/3.6/library/locale.html#locale.setlocale)する(私は実際にしたことはありませんが)
60
60
 
61
- - ターミナルで[PYTHONIOENCODING](http://docs.python.jp/3.6/using/cmdline.html?highlight=pythonioencoding#envvar-PYTHONIOENCODING)を`PYTHONIOENCODING=UTF-8`などと指定する
61
+ - ターミナルで[PYTHONIOENCODING](http://docs.python.jp/3.6/using/cmdline.html?highlight=pythonioencoding#envvar-PYTHONIOENCODING)を`PYTHONIOENCODING=UTF-8`などと指定する(標準入出力に対してのみ)
62
62
 
63
63
  - ターミナルで事前にロケールを設定する
64
64
 

1

対処の追加

2017/11/24 01:27

投稿

quickquip
quickquip

スコア11038

test CHANGED
@@ -58,6 +58,8 @@
58
58
 
59
59
  - Pythonのコードで事前に[locale.setlocale](http://docs.python.jp/3.6/library/locale.html#locale.setlocale)する(私は実際にしたことはありませんが)
60
60
 
61
+ - ターミナルで[PYTHONIOENCODING](http://docs.python.jp/3.6/using/cmdline.html?highlight=pythonioencoding#envvar-PYTHONIOENCODING)を`PYTHONIOENCODING=UTF-8`などと指定する
62
+
61
63
  - ターミナルで事前にロケールを設定する
62
64
 
63
65