Re: [gdal-dev] Encoding of keys and values returned by GDALGetMetadata?

2019-03-26 Thread Sean Gillies
Even, On Tue, Mar 26, 2019 at 2:57 PM Even Rouault wrote: > Sean, > > > Little is said at > > https://www.gdal.org/gdal_8h.html#a25929a66e99d92c2788485ecf13e2e82. Are > > these values UTF-8 (as was the intent in > > https://trac.osgeo.org/gdal/wiki/rfc5_unicode) or does it depend on the > >

Re: [gdal-dev] Encoding of keys and values returned by GDALGetMetadata?

2019-03-26 Thread Even Rouault
Sean, > Little is said at > https://www.gdal.org/gdal_8h.html#a25929a66e99d92c2788485ecf13e2e82. Are > these values UTF-8 (as was the intent in > https://trac.osgeo.org/gdal/wiki/rfc5_unicode) or does it depend on the > format driver? The key/value mechanism itself just assumes NUL-terminated

[gdal-dev] Encoding of keys and values returned by GDALGetMetadata?

2019-03-26 Thread Sean Gillies
Hi all, Little is said at https://www.gdal.org/gdal_8h.html#a25929a66e99d92c2788485ecf13e2e82. Are these values UTF-8 (as was the intent in https://trac.osgeo.org/gdal/wiki/rfc5_unicode) or does it depend on the format driver? In https://github.com/mapbox/rasterio/issues/1663 a rasterio user is