[Qgis-user] encoding csv to windows-1252 does not work

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Tue Jun 18 04:34:56 PDT 2019


Hi there,

> The text files are in Windows 1252 encoding. When importing them I
> chose this encoding but as you can see from the screenshot it shows
> an encoding of utf-8.

Which version of QGIS are you using? With stable and master QGIS3,
I cannot reproduce it with the file attached. Be aware that it gets
UTF-8 once imported to QGIS. So it'll be UTF-8 in the table, too.

[local] tobwen at qgis=# select * from public.french
┌────┬──────────────────────────────────┐
│ id │              quote               │
├────┼──────────────────────────────────┤
│ 1  │ L’habit ne fait pas le moine     │
│ 2  │ Chacun voit midi à sa porte      │
│ 3  │ “Mieux vaut prévenir que guérir” │
└────┴──────────────────────────────────┘

Best regards,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: french.csv
Type: application/octet-stream
Size: 113 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190618/e52cff10/attachment.obj>


More information about the Qgis-user mailing list