Hi all,

Dmitriy Fedorov added some code to try and "autodetect" the shapefile codepage from the CPG sidecar in https://github.com/geotools/geotools/pull/3405

I would like to backport this to 25.x and 24.x (preferably before 24.3 is released)

It is a switch that turns "on" a small change in behaviour, that does't affect existing code if it already specifies a codepage and makes life much easier IMO. (We are seeing increasing numbers of UTF-8 encoded shapefiles that give unexpected results for clients.)

Alternatively; I could update the code in the backports to default to false for the "tryCPGFile" property so there is no actual change in behavior of the store unless your code changes the property to true (though I would prefer not to - keeping behavior the same across versions)

Opinions?

Mark


_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to