User should be able to ignore OGRs evaluation of LDID in Shapes or choose layer-based encoding or LDID evaluation
|Assigned to:||-||% Done:||
|Target version:||Version X - Unplanned|
|Platform version:||Patch supplied:||No|
jefs LDID hotfix for #5911 works as expected.
Anyway a layer-based solution should be prefered. Still creating a QGIS-project with set to ignore shape encoding will be broken when opening this project once without having set this option (e.g. on a second pc. See 75dc85b4d).
For backwards compatibility SHAPE_ENCODING should be set to "" as default for known behavior and (let's say it positive) LDID encoding auto-detection can be turned on by activating a checkbox. Anyway the auto-detection of shape encoding (evaluating LDID) is a layer-based thing and should not be set by a global environment variable.
I'd prefer a layer-based solution like when opening the "open vector layer" dialog Encoding is set to "OGR autodetect" as default and any other value will set the encoding as chosen by the user.
<provider encoding="auto">ogr</provider> in qgs-file could be a solution. Of course this can only be done if OGR provides a way of accessing Shapes including a optional parameter for handling of LDID information or ignoring it.
|duplicated by Quantum GIS Desktop - Bug #6500: Language Encoding very broken in 1.8 Lisboa||Closed||10/11/2012|