plugins/RSS: UTF-8 encode the RSS' URL to prevent an encoding error when including the URL in the reply.

This commit is contained in:
James Vega 2006-08-28 13:18:12 +00:00
parent ea6000b407
commit 4064da76aa
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,9 @@ class RSS(callbacks.Plugin):
if self.registryValue(config, channel):
for headline in headlines:
if headline[1]:
newheadlines.append(format('%s %u', *headline))
newheadlines.append(format('%s %u',
headline[0],
headline[1].encode('utf-8')))
else:
newheadlines.append(format('%s', headline[0]))
else: