Le 15/07/2021 à 21:51, Andrea Giudiceandrea a écrit :
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.
Good catch! Could you issue a PR to fix this ?

Regards.

Andrea
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to