Feature request #18782

charset dialog window

Added by Tobias Wendorff over 5 years ago.

Category:Data Source Manager
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:26669


QGIS parses shapefiles with or without a CPG file to UTF-8 by default.
You can override this manually, but this often leads to trouble because staff is not always aware of this problem.

I've often seen statt loading ISO-8859-1 coded DBFs in QGIS. QGIS parses it as UTF-8 and when edits are done, things get messed up.
This results in ISO-8859-1 (loaded as UTF-8) and UTF-8 mixed entries, which get saved as UTF-8.

Is it possible to add some kind of dialog with asks for the charset, if no CPG file is available? Perhaps with a small preview window of characters making trouble. A dialog windows, like it's used for SRS/CRS ... even Microsoft Excel has such a dialog window :)

Related issues

Related to QGIS Application - Bug report #13203: When opening Shapefile the .cpg file is ignored in Window... Closed 2015-08-10


#1 Updated by Jürgen Fischer over 5 years ago

  • Related to Bug report #13203: When opening Shapefile the .cpg file is ignored in Windows 8.1 added

Also available in: Atom PDF