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

Sean Gillies sean at mapbox.com
Tue Mar 26 10:55:26 PDT 2019


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 encountering HDF5 metadata items that can't be decoded using
Python's UTF-8 codec and I've love to be able to sort this out.

Thanks,

-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190326/411c86d1/attachment.html>


More information about the gdal-dev mailing list