diff options
-rw-r--r-- | utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ def load_colored_svg(filename, stroke, fill): entity = '<!ENTITY stroke_color "%s">' % stroke data = re.sub('<!ENTITY stroke_color .*>', 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 ): |