Please sign in to comment.
Don't force set new layer encoding to the UI/encoding settings value
This was previously a band-aid fix applied in order to get shapefiles to load using the encoding specified in the data source manager encoding option. But the same settings key is used for lots of different things, e.g. saving and restoring the last used encoding when creating a new layer. By forcing all layers to this encoding leads to lots of nasty issues, e.g. shapefiles loaded through the QGIS api will get a quasi-random encoding assigned to them (unless the API caller manually follows up with a setEncoding() call...) It's no longer required now, in any case
- Loading branch information