From 37ff87c9d342e637a4a41459c622922cc436714f Mon Sep 17 00:00:00 2001 From: Yoan Blanc Date: Tue, 4 Aug 2015 12:22:42 +0200 Subject: [PATCH] Specify encoding of .tsv files. Fix #18 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index d8545ebf..27079bd2 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ YEAR = 2015 PROPERTIES = +ENCODING = utf8 + CONTOUR_INTERVAL = 500 all: topo @@ -298,18 +300,21 @@ build/ge/lakes.shp: build/ch/lakes.shp build/cantons.tsv: src/V200/$(YEAR)/VEC200_ADMLVL1.dbf mkdir -p $(dir $@) node_modules/.bin/dbf2dsv \ + -e $(ENCODING) \ -o $@ \ -- $< build/districts.tsv: src/V200/$(YEAR)/VEC200_ADMLVL2.dbf mkdir -p $(dir $@) node_modules/.bin/dbf2dsv \ + -e $(ENCODING) \ -o $@ \ -- $< build/municipalities.tsv: src/V200/$(YEAR)/VEC200_Commune.dbf mkdir -p $(dir $@) node_modules/.bin/dbf2dsv \ + -e $(ENCODING) \ -o $@ \ -- $<