Bug report #5927

ESRI shapefile encoding problem

Added by Jakub Bobrowski over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Vectors
Affected QGIS version:1.8.0 Regression?:No
Operating System:windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:15364

Description

I can't change encoding type when I work with ESRI shapefile ('Add Vector Layer' and 'Option -> General -> Encoding' doesn't work correctly). QGIS always set UTF-8.


Related issues

Related to QGIS Application - Bug report #5911: Language Driver ID in dbf file of new shapefile Closed 2012-06-30

History

#1 Updated by Minoru Akagi over 7 years ago

OGR Shapefile driver(GDAL>=1.9) recodes attribute strings to UTF-8 and passes it to QGIS, if the shapefile includes non-zero LDID in dbf file or valid cpg file. If there is no garbled text in the attribute table, recoding of driver is working well. If not so, see OSGeo4W #294

However, it is better if the encoding combo-box in the layer properties displays the codepage of dbf file with grayed out rather than displaying abstract "UTF-8", isn't it?

#2 Updated by Alexander Bruy over 7 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Duplicate #5255

Also available in: Atom PDF