mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
A shapefile can have a .cpg file to determine its encoding. However, in processing, this file is not created when the encoding is set to the magic "System" value. This PR aims to propose to automatically determine the system encoding using QT's codecForLocale. So, even when using the magic "System" value, the cpg file will be created with the true system encoding name. Fixes #50603