maxcountryman/flask-bcrypt — pull request #3 by insom (2011-11-18 13:03:32+00:00)
Title: Convert Unicode strings to UTF-8 implicitly

Strings which come from MongoDB and XML are generally Unicode; using x.encode('u8') all over code which needs to call this library seems like a bad place- if everything gets encoded down to UTF-8 if it's not already a string, and it's done consistently, that seems harmless.