[QGIS-Developer] Loading many Excel-Files in QGIS with correct encoding
Even Rouault
even.rouault at spatialys.com
Thu Jul 15 13:10:57 PDT 2021
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
> QGIS-Developer at lists.osgeo.org
> 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.
More information about the QGIS-Developer
mailing list