dbf-to-sqlite icon indicating copy to clipboard operation
dbf-to-sqlite copied to clipboard

Encoding issues

Open ryanjgillies opened this issue 5 years ago • 1 comments

Great little script, looks like it could be the godsend I'm looking for in terms of getting legacy dbf files into something more usable.

That said I'm having an encoding issue - my DBF files use BIG5 (Traditional Chinese) and I'm getting the following error back:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xa7 in position 2: ordinal not in range(128)

I see dbfread has an encoding option - any chance you could add an extra option into your script so we specify the DBF encoding when needed?

ryanjgillies avatar Apr 09 '19 15:04 ryanjgillies