質問編集履歴
1
追記修正した。
test
CHANGED
File without changes
|
test
CHANGED
@@ -80,14 +80,96 @@
|
|
80
80
|
|
81
81
|
|
82
82
|
|
83
|
+
text.txt
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
#(1)のメール
|
88
|
+
|
89
|
+
<div name="messageReplySection">-------転送メール--------<br/>
|
90
|
+
|
91
|
+
<b>差出人:</b>RRRRRRRR<br/>
|
92
|
+
|
93
|
+
<b>日付:</b>RRRRRRRR<br/>
|
94
|
+
|
95
|
+
<b>宛先:</b>RRRRRRRR<br/>
|
96
|
+
|
97
|
+
<b>件名:</b>RRRRRRRR<br/>
|
98
|
+
|
99
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
100
|
+
|
101
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
102
|
+
|
103
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
104
|
+
|
105
|
+
#(2)のメール
|
106
|
+
|
107
|
+
<div>
|
108
|
+
|
109
|
+
<b>差出人:</b>RRRRRRRR<br/>
|
110
|
+
|
111
|
+
<b>日付:</b>RRRRRRRR<br/>
|
112
|
+
|
113
|
+
<b>宛先:</b>RRRRRRRR<br/>
|
114
|
+
|
115
|
+
<b>件名:</b>RRRRRRRR<br/>
|
116
|
+
|
117
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
118
|
+
|
119
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
120
|
+
|
121
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
122
|
+
|
123
|
+
#(3)のメール
|
124
|
+
|
125
|
+
<div name="messageReplySection">-------転送メール--------<br/>
|
126
|
+
|
127
|
+
<b>差出人:</b>RRRRRRRR<br/>
|
128
|
+
|
129
|
+
<b>日付:</b>RRRRRRRR<br/>
|
130
|
+
|
131
|
+
<b>宛先:</b>RRRRRRRR<br/>
|
132
|
+
|
133
|
+
<b>件名:</b>RRRRRRRR<br/>
|
134
|
+
|
135
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
136
|
+
|
137
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
138
|
+
|
139
|
+
<p class="MsoNormal">RRRRRRRRRR</span></p>
|
140
|
+
|
141
|
+
#(4)のメール
|
142
|
+
|
143
|
+
<div>
|
144
|
+
|
145
|
+
・・・・・・
|
146
|
+
|
147
|
+
```
|
148
|
+
|
149
|
+
|
150
|
+
|
83
151
|
### 発生している問題・エラーメッセージ
|
84
152
|
|
85
153
|
|
86
154
|
|
87
155
|
```
|
88
156
|
|
157
|
+
File "C:/Users/XXXXXX/.spyder-py3/YYYYY.py", line 11, in <module>
|
158
|
+
|
159
|
+
txt=data.read()
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
File "C:\ProgramData\Anaconda3\lib\codecs.py", line 322, in decode
|
164
|
+
|
165
|
+
(result, consumed) = self._buffer_decode(data, self.errors, final)
|
166
|
+
|
167
|
+
|
168
|
+
|
89
169
|
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 32: invalid start byte
|
90
170
|
|
171
|
+
(2020/08/10追記)
|
172
|
+
|
91
173
|
```
|
92
174
|
|
93
175
|
|