Even, Thank you for the quick reply. And it appears that using a .CPG file does not make a difference in this. Is that correct?
Roger On Fri, Nov 7, 2014 at 3:00 PM, Even Rouault <even.roua...@spatialys.com> wrote: > Le vendredi 07 novembre 2014 23:53:09, Roger André a écrit : > > Hello List, > > > > I am very curious why after installing GDAL 1.11, I now need to use the > > -lco ENCODING=UTF-8 option when using ogr2ogr on any of my already UTF-8 > > encoded shapefiles? Failure to do so results in this error, > > > > Warning 1: One or several characters couldn't be converted correctly from > > UTF-8 to ISO-8859-1. > > Roger, > > The default encoding of shapefiles is ISO-8859-1. So if you don't specify > -lco > ENCODING=UTF-8, the shapefile driver will attempt to recode from UTF-8 to > ISO-8859-1. This behaviour has been introduced in GDAL 1.9. Previously no > transcoding was done, and there could be mismatch between the actual > encoding > of the content and the declared encoding of the DBF. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev