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





_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to