From 63343b4c88c91d9933dc70590efedc57f62e3da4 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Thu, 16 May 2013 13:48:36 +0200 Subject: [PATCH] -_- --- pygal/_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygal/_compat.py b/pygal/_compat.py index e7e16944..ff7d9d7c 100644 --- a/pygal/_compat.py +++ b/pygal/_compat.py @@ -38,7 +38,7 @@ def to_str(string): def u(s): if sys.version_info[0] == 2: - return unicode(s, "unicode_escape") + return s.decode('utf-8') return s