mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-15 07:04:53 +01:00
ff96b898f9
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> Conflicts: plugins/RSS/plugin.py |
||
---|---|---|
docs | ||
locale | ||
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 :)