[QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding

Andrea Giudiceandrea andreaerdna at libero.it
Thu Jul 15 12:51:13 PDT 2021


Il 15/07/2021 20:51, Andrea Giudiceandrea ha scritto:
> Instead, QGIS imports correctly XLSX files as UTF-8 encoded, while XLS 
> files are wrongly imported as "system" encoded, even selecting UTF-8 [3] 
> encoding in the Data Source Manager vector import window.

Looking at GDA/OGR code, I see that the layer imported via XLSX driver 
advertise the UTF-8 strings (OLCStringsAsUTF8) in the capabilities, 
while an XLS layer does not.

So, this could be the underlying root cause of the issue.

Regards.

Andrea


More information about the QGIS-Developer mailing list