I export a dataset to access. In the DBGrid on the form i see this value (tree name):
Tilia cordata 'Böhlje'
This is good.
When i export the dataset to Access is get this value:
Tilia cordata 'Böhlje'
I think this has something to do with Ansi / utf8 so i tried the next 2 methods. Both gave the wrong result
DataModule_Access.SQLQuery_Access.Params.ParamByName('BOOMSOORT').AsString := Adbgrid.DataSource.DataSet.FieldByName('BOOMSOORT').AsString;
DataModule_Access.SQLQuery_Access.Params.ParamByName('BOOMSOORT').AsString := AnsiToUtf8(Adbgrid.DataSource.DataSet.FieldByName('BOOMSOORT').AsString);
How to export the diacritics the right way to Access?
When i export to Tekst of xlsx there is no problem with the diacritics.