aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 5b0adaf..cdf15c6 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -548,7 +548,7 @@ class Channel(object):
return " ".join(message)
def set_topic(self, topic):
- topic = topic.encode('ascii', 'ignore')
+ topic = topic.encode('utf-8')
w.buffer_set(self.channel_buffer, "title", topic)
def open(self, update_remote=True):