Closed aafenlared closed 2 years ago
we should be defaulting to utf8 or ascii if the cpg is omitted which is what you are passing so I'm not totally sure what the problem could be
https://github.com/calvinmetcalf/parseDBF is where stuff might have been changed
Thanks for this library. I have been trying to found this answer, but the code have changed a lot. With the version of "shp.js" used in the example "Local Zipfile" the accents are displayed correctly without using a cpg file. Meanwhile, using the newer version of "shp.js" are not displayed correctly unless the cpg file is included? My shapefile is encoded ISO-8859-1. Sorry my english. I hope you understand.