<div><br></div>Thanks for you all,<div><br></div><div>I'll be trying to provide a fix for these issues this week.</div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div>
<div><br><br><div class="gmail_quote">2013/4/2 rburhum <span dir="ltr"><<a href="mailto:ragi@burhum.com" target="_blank">ragi@burhum.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Tamas and Dennis,<br>
<br>
Indeed the C# bindings to not handle UTF8 characters correctly. I submitted<br>
a bug report about it a couple of months ago with a reproducible case.<br>
<br>
<a href="http://trac.osgeo.org/gdal/ticket/4971" target="_blank">http://trac.osgeo.org/gdal/ticket/4971</a><br>
<br>
For the case that I submitted, the values for the fields in C-API GDAL are<br>
coming out with correct utf8 strings, but the bindings just blindly copy the<br>
utf8 chars into a UTF-16 strings. In order to work around the problem, I had<br>
to pick out the relevant bits from the incorrect UTF-16 string, copy them to<br>
a byte array, and re-encoded from UTF8 --> UTF16 correctly. It is all in the<br>
ticket and I would happy to elaborate more if needed.<br>
<br>
- Ragi<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/gdal-dev-GDAL-OGR-C-wrapper-and-UTF8-tp5044028p5044112.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/gdal-dev-GDAL-OGR-C-wrapper-and-UTF8-tp5044028p5044112.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br></div>