James McCoy 964c73f591 RSS._getConverter: Encode strings before handing them off to other functions
When the feed has a specified encoding, we'll be dealing with unicode objects
in the response from feedparser.parse().  To avoid possible UnicodeErrors, we
need to encode() before handing the string off to other functions, so the
other functions are always dealing with bytestrings instead of bytestrings and
unicode objects.  Mixing unicode and bytestrings will cause implicit
conversions of the unicode objects, which will most likely use the wrong
encoding.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-10-22 15:23:56 -04:00
2009-02-28 00:11:52 -05:00
2009-05-07 22:41:39 -04:00

EVERYONE:
---------
Read LICENSE.  It's a 3-clause BSD license, but you should read it
anyway.

USERS:
------
If you're upgrading, read RELNOTES.  There is also much documentation
at http://supybot.com/ for your perusal.  Please read it; we took the
time to write it, you should take the time to read it.

If you have any trouble, feel free to swing by #supybot on
irc.freenode.net or irc.oftc.net (we have a Supybot there relaying,
so either network works) and ask questions.  We'll be happy to help
wherever we can.  And by all means, if you find anything hard to
understand or think you know of a better way to do something,
*please* post it on Sourceforge.net so we can improve the bot!

WINDOWS USERS:
--------------
The wizards (supybot-wizard, supybot-newplugin, and
supybot-adduser) are all installed to your Python directory's
\Scripts.  What that *probably* means is that you'll run them like
this: C:\Python2x\python C:\Python2x\Scripts\supybot-wizard

DEVELOPERS:
-----------
We likewise have tons of developer documentation at
http://supybot.com/ for your learning adventures.  Have fun :)
Description
No description provided
Readme 40 MiB
Languages
SCSS 79.2%
HTML 10.4%
Shell 8.4%
Ruby 2%