Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding issues #2

Open
ryanjgillies opened this issue Apr 9, 2019 · 1 comment
Open

Encoding issues #2

ryanjgillies opened this issue Apr 9, 2019 · 1 comment

Comments

@ryanjgillies
Copy link

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?

@Medevin
Copy link

Medevin commented Jun 7, 2019

Have the same issue.

ogustbiller pushed a commit to ogustbiller/dbf-to-sqlite that referenced this issue Nov 21, 2020
Fixed bug when trying to convert dbf files in national encodings.
Now you can set dbf file encoding with --codepage option.

Fix simonw#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants