Feature request #6216

User should be able to ignore OGRs evaluation of LDID in Shapes or choose layer-based encoding or LDID evaluation

Added by Marco Lechner over 4 years ago. Updated over 2 years ago.

Status:Closed Start Date:08/17/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Data Provider
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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.


Related issues

duplicated by QGIS Application - Bug report #6500: Language Encoding very broken in 1.8 Lisboa Closed 10/11/2012

History

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Marco Lechner over 2 years ago

  • Status changed from Open to Closed

fixed in general encoding handling since years

Also available in: Atom