Hello Tamas and Dennis, Indeed the C# bindings to not handle UTF8 characters correctly. I submitted a bug report about it a couple of months ago with a reproducible case.
http://trac.osgeo.org/gdal/ticket/4971 For the case that I submitted, the values for the fields in C-API GDAL are coming out with correct utf8 strings, but the bindings just blindly copy the utf8 chars into a UTF-16 strings. In order to work around the problem, I had to pick out the relevant bits from the incorrect UTF-16 string, copy them to a byte array, and re-encoded from UTF8 --> UTF16 correctly. It is all in the ticket and I would happy to elaborate more if needed. - Ragi -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-GDAL-OGR-C-wrapper-and-UTF8-tp5044028p5044112.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev