Skip to content

Commit

Permalink
Merge pull request #85 from aroche/patch-1
Browse files Browse the repository at this point in the history
fix layer encoding problem
  • Loading branch information
Gustry authored Aug 2, 2016
2 parents c8db28b + dae6615 commit 82f74e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/parser/osm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def parse(self):
msg = "Error on the layer : " + \
layers[layer]['vectorLayer'].lastError()
raise GeoAlgorithmExecutionException(msg)

layers[layer]['vectorLayer'].setProviderEncoding('UTF-8')

# Set some default tags
layers[layer]['tags'] = ['full_id', 'osm_id', 'osm_type']
Expand Down

0 comments on commit 82f74e9

Please sign in to comment.