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

Add support for DBF file encoding #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mloenow
Copy link

@mloenow mloenow commented Jan 21, 2022

Awesome extension — thanks for making it!

I had issues with some Scandinavian characters, which can be fixed by including the encoding as the second argument in the DBF parser. According to the spec[0] a .cpg file can specify the encoding, so this pull request adds support for that.

[0] Well, Wikipedia (see Other files), as well as shapefile-js and parseDBF.

@RandomFractals
Copy link
Owner

Interesting scenario. Do you have data files I could test it with?

Thanks for the PR. I only noticed it now.

@mloenow
Copy link
Author

mloenow commented Dec 5, 2022

I'm unsure if it can be shared publicly. Do you have an email or similar I can send it to?

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

Successfully merging this pull request may close these issues.

None yet

2 participants