From 93afd55acf386270dade43103e32726400d3bd47 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 13 Jan 2016 19:37:04 +0100 Subject: Fix shapefile export with strange characters --- chimere/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3