shapefile-rs icon indicating copy to clipboard operation
shapefile-rs copied to clipboard

Character encoding

Open radi2015 opened this issue 1 year ago • 1 comments

read shapefile can be assign "utf-8","gbk" for better read charactor code

Shape: Shape::Polyline(1 parts), records: former_nam: Character(None), Route_ID: Character(Some("99564")), Path_Name: Character(Some("������")),

radi2015 avatar Sep 11 '22 14:09 radi2015

Does your .shp has a .cpg along with it ?

Are you able to share the file ?

Can you try to, read the file using dbase==0.3.0 with the yore feature as it added support for encodings

tmontaigu avatar Sep 11 '22 22:09 tmontaigu