summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/wolframalpha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wolframalpha.py b/modules/wolframalpha.py
index f13cdcb..30bdfe6 100644
--- a/modules/wolframalpha.py
+++ b/modules/wolframalpha.py
@@ -42,7 +42,7 @@ class Module(object):
if result is not None and result.text is not None:
text = result.text
text = whitespace_re.sub(' ', text)
- results.append('\002%s\002: %s' % (pod.attrib['title'], text))
+ results.append('\002%s\002: %s' % (pod.attrib['title'].encode('utf-8'), text.encode('utf-8')))
if len(results):
self.irc.msg(target, ' '.join(results))
else: