【发布时间】:2020-01-21 17:36:15
【问题描述】:
我正在尝试读取 shapefile
r = shapefile.Reader(filepath, encoding = "utf-8")
但是当我尝试从 .records() 对象中获取值时,例如:
r.records()[0]
它返回给我以下错误:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 4: invalid continuation byte
【问题讨论】: