質問編集履歴
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
```
|
13
13
|
こちらは正常に変換
|
14
14
|
|
15
|
+
|
15
16
|
```ターミナル
|
16
17
|
$ cat text |python -c 'from sys import stdin; print stdin.readline().decode("unicode-escape")' > text2
|
17
18
|
Traceback (most recent call last):
|
@@ -20,6 +21,8 @@
|
|
20
21
|
```
|
21
22
|
コピーするとエラーが発生
|
22
23
|
|
24
|
+
|
25
|
+
|
23
26
|
```ターミナル
|
24
27
|
$ python -c 'from sys import stdin; print stdin.readline().decode("unicode-escape")' < text > text2
|
25
28
|
Traceback (most recent call last):
|
@@ -28,6 +31,7 @@
|
|
28
31
|
```
|
29
32
|
別の書き方でも
|
30
33
|
|
34
|
+
|
31
35
|
文字コードをエンコードして保存したいのですが、何か方法はありませんか?
|
32
36
|
|
33
37
|
|