From 8c022df990f94bdae35bf31241de9667edf174be Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 26 Mar 2011 08:29:02 +0100 Subject: [PATCH] Be sure that is UTF-8 encoded --- wikirc2text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wikirc2text.py b/wikirc2text.py index 2b88e68..2548cc5 100644 --- a/wikirc2text.py +++ b/wikirc2text.py @@ -70,9 +70,9 @@ def core (): shkey = sh.hexdigest() if not (s.has_key(shkey)): s[shkey] = time.mktime(datetime.datetime.now().timetuple()) - print rcline + print rcline.encode('utf-8') else: - print rcline + print rcline.encode('utf-8') if x > 1: time.sleep(float(options.wait))