mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
b42b06fe79
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>
(cherry picked from commit
|
||
---|---|---|
docs | ||
plugins | ||
sandbox | ||
scripts | ||
src | ||
test | ||
.gitattributes | ||
.gitignore | ||
ACKS | ||
ChangeLog | ||
INSTALL | ||
LICENSE | ||
README | ||
RELNOTES | ||
setup.py |
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 :)