Bug report #2029

Layer properties's attributes: importing value map from external csv is not utf-8 compatible

Added by Ricardo Silva over 14 years ago. Updated over 14 years ago.

Assignee:nobody -
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12089


When importing a csv file for use with the "value map" type of widget, in the "Layer Properties" -> "Attributes" tab, the imported csv is not parsed as utf-8, causing the accents of my native language (portuguese) to appear all garbled up. I think the file is getting parsed as ASCII, which is kinda limited for us non english natives. This forces the user to manually edit the value map, defeating the whole process of loading data from an external csv file.

In attachment there is a sample csv with portuguese words.

funcionalidade_sala.csv Magnifier - a csv for using with the value map type of widget of the layer properties->attributes tab (392 Bytes) Ricardo Silva, 2009-10-24 10:50 AM

Associated revisions

Revision 0ae20438
Added by Jürgen Fischer over 14 years ago

fix #2029

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11833 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 175e531e
Added by Jürgen Fischer over 14 years ago

fix #2029

git-svn-id: http://svn.osgeo.org/qgis/trunk@11833 c8812cc2-4d05-0410-92ff-de0c093fc19c


#1 Updated by Giovanni Manghi over 14 years ago

Good find Ricardo,

confirmed also with trunk under Ubuntu 9.04

#2 Updated by Jürgen Fischer over 14 years ago

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

should be fixed in 175e531e (SVN r11834)

Also available in: Atom PDF