fix: 市场改为勾选列表,楼宇结果输出改为 GBK
This commit is contained in:
@@ -15,8 +15,8 @@ import tifffile
|
||||
from marketgrid import gpkg
|
||||
|
||||
|
||||
def csv_preview(path, encoding="utf-8-sig", limit=500):
|
||||
with Path(path).open(encoding=encoding, newline="") as source:
|
||||
def csv_preview(path, encoding="gbk", limit=500):
|
||||
with Path(path).open(encoding=encoding, newline="", errors="replace") as source:
|
||||
reader = csv.DictReader(source)
|
||||
rows = []
|
||||
for index, row in enumerate(reader):
|
||||
|
||||
Reference in New Issue
Block a user