summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-01-13 19:37:04 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-01-13 19:37:04 +0100
commit93afd55acf386270dade43103e32726400d3bd47 (patch)
tree57f68bf6f6013b71ebb12b66196671b82b653e92
parentd7c426ebef199178167f69564b0efc0f3ef4b9cf (diff)
downloadChimère-93afd55acf386270dade43103e32726400d3bd47.tar.bz2
Chimère-93afd55acf386270dade43103e32726400d3bd47.zip
Fix shapefile export with strange characters
-rw-r--r--chimere/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py
index 8066255..275f107 100644
--- a/chimere/utils.py
+++ b/chimere/utils.py
@@ -53,7 +53,7 @@ def unicode_normalize(string):
string = unicode(string.decode('utf-8'))
return ''.join(
(c for c in unicodedata.normalize('NFD', string)
- if unicodedata.category(c) != 'Mn'))
+ if unicodedata.category(c) not in ('Mn', 'Sm', 'Sc')))
class ImportManager(object):