the conversion over to GDAL's API
Resolves missing text codecs like CP852 on windows builds. These
were previously available, but then Qt upstream dropped the ICU
library from their windows builds, and accordingly a whole bunch
of older text codecs are no longer available by default on the
windows builds.
Fixes#36871