Bug report #5340
QGIS loses non-latin letters in new shapefiles
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||15040|
Some of the recent changes have introduced attribute data loss for new shapefiles. Still present in 67c77e5Steps to reproduce:
- Create a new Shapefile with a text field;
- Save it as "UTF-8" to provide non-latin letter support;
- Digitize a new feature and use following string as it's text attribute value: "Āšņļ ēždžķļūī";
- Finish digitizing, save edits;
- Open attribute table to observe all non-latin letters converted to "?".
I double checked that in layer properties "Provider encoding" is UTF-8.