mapbox / shp-write

create and write to shapefiles in pure javascript
BSD 3-Clause "New" or "Revised" License
296 stars 189 forks source link

Different encoding #33

Closed Trokul closed 7 years ago

Trokul commented 8 years ago

Hey, the features I'd like to export, have attributes in Hebrew, and the writer turn then to Gibberish. I like to know if there is a way I could change the dbf file encoding, or an other way to export in Hebrew.

Thanks!

tmcw commented 7 years ago

Unfortunately that'll have to be out of scope for this module - the DBF standard, being a very old thing, uses an old encoding that isn't utf8. Only a compatible subset of that encoding and UTF8 (so, essentially, just ASCII) should be expected to work reliably.