Bug report #12117

Split vector layer does not work if "unique id filed" has non ascii chars in it

Added by Giovanni Manghi almost 7 years ago. Updated almost 7 years ago.

Assignee:Giovanni Manghi
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20311


Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 232, in execute
File "/usr/share/qgis/python/plugins/processing/algs/qgis/VectorSplit.py", line 73, in processAlgorithm
fName = '{0}_{1}.shp'.format(baseName, unicode(i).strip())
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xc7' in position 6: ordinal not in range(128)

Associated revisions

Revision 3c2a92b9
Added by Alexander Bruy almost 7 years ago

Merge pull request #1879 from gioman/fix_processing_encoding_split_vector_layer

[processing] fix enconding in Split Vector layer tool when splitting attribute has non ASCII chars (fix #12117)


#2 Updated by Alexander Bruy almost 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF