geo-data-viewer icon indicating copy to clipboard operation
geo-data-viewer copied to clipboard

Add support for DBF file encoding

Open mloenow opened this issue 2 years ago β€’ 2 comments

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.

mloenow avatar Jan 21 '22 21:01 mloenow

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

Thanks for the PR. I only noticed it now.

RandomFractals avatar Dec 05 '22 14:12 RandomFractals

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

mloenow avatar Dec 05 '22 14:12 mloenow