From e98506d07f590393717250ff0edbcc505517f939 Mon Sep 17 00:00:00 2001 From: flavio Date: Fri, 14 Dec 2012 12:17:42 +0000 Subject: Corrections Rsvg encode --- diff --git a/utils.py b/utils.py index 68b03ee..7a3216b 100644 --- a/utils.py +++ b/utils.py @@ -40,7 +40,7 @@ def load_colored_svg(filename, stroke, fill): entity = '' % stroke data = re.sub('', entity, data) - Rsvg.Handle.new_from_data(name.encode('ascii', data)).get_pixbuf() + Rsvg.Handle.new_from_data(data.encode('utf-8')).get_pixbuf() def getUniqueFilepath( path, i ): -- cgit v0.9.1