Skip to content

Commit 3c2a92b

Browse files
committed
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 parents 6f2ba0f + 035229f commit 3c2a92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/VectorSplit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def processAlgorithm(self, progress):
7070
features = vector.features(layer)
7171

7272
for count, i in enumerate(uniqueValues):
73-
fName = '{0}_{1}.shp'.format(baseName, unicode(i).strip())
73+
fName = u'{0}_{1}.shp'.format(baseName, unicode(i).strip())
7474

7575
writer = vector.VectorWriter(fName, None, fields, geomType, crs)
7676
for f in features:

0 commit comments

Comments
 (0)