dbfread icon indicating copy to clipboard operation
dbfread copied to clipboard

Generalize the --encoding-xlsx input option for other file types in in2csv

Open dreavjr opened this issue 4 years ago • 0 comments

I've recently tried to use in2csv in a GIS dBase IV dbf file and was unable to do so until I amended (in a very ugly way) in2csv.py to get an additional --encoding-dbf command-line argument (which mirrors --encoding-xls in passing an encoding argument to agata.Table).

Since probably this is not a very promising solution (I imagine in the future an --encoding-xxx for each possible data file), wouldn't it be better to just have an --input-encoding parameter? Would that break anything else?

dreavjr avatar Apr 21 '20 21:04 dreavjr