[gdal-dev] Reading GeoJSON with diacritics via GDAL C# bindings — identifiers vs data values
John Smith
johnsmith7862025 at outlook.com
Tue Jan 13 21:13:02 PST 2026
I am using GDAL 3.9.3 and reading GeoJSON files (saved in ANSI/Windows-1252 encoding) via the GDAL C# bindings. I want to clarify how SQL queries with diacritics are handled:
1.
When a SQL query contains identifiers (table/column names) with diacritics, e.g., "Gelände", are the bytes looked up exactly as-is in the dataset, without any UTF-8 conversion?
2.
When the query contains data values with non-English characters, e.g., 'CCüri kom XXCX', does GDAL interpret these as UTF-8 (or according to the dataset encoding) internally?
In other words, is it correct to assume that identifiers are matched byte-for-byte, while data values are parsed according to GDAL’s encoding rules, when passing SQL queries via C# bindings?
Any clarification would be appreciated.
BR
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20260114/6003d576/attachment-0001.htm>
More information about the gdal-dev
mailing list