Re: [gdal-dev] UTF-8 and layer names

2020-08-31 Thread Even Rouault
Nyall, The philosophy is that, as much as possible, all strings in GDAL should be UTF-8 encoded, and drivers do the work of recoding from/into it if necessary. Now, this is more a philosophy that something that can be strictly enforced because: - not all drivers that could do that are implemen

[gdal-dev] UTF-8 and layer names

2020-08-30 Thread Nyall Dawson
Hi list, While looking into https://github.com/OSGeo/gdal/issues/2894 , I hit a bit of confusion about the expected encoding of OGR dataset layer names. I've been looking over the related RFCS: - https://gdal.org/development/rfc/rfc5_unicode.html - https://gdal.org/development/rfc/rfc23_ogr_unico