Unicode 解码错误
虽然我不是Python开发者,但我写了一些Python代码来把一些数据转换成RDF格式。
上周我在Python 3.2上运行这段代码时,一切都很顺利。不过今天它却出现了错误
**Traceback (most recent call last):**
**File "C:\Users\Karen\Desktop\Linked Data new\RGC_v3.2.py", line 10, in <module>
for row in reader: #look through each row in the csv file. row is an area where row[0] will be the first column, row[1] the second etc.
File "C:\Python32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 754: character maps to <undefined>**
我不知道为什么它突然就不工作了。