Unicode problems with hashlib
Hi, I'm using johnny-cache in a project where the DB2 database has non-ascii characters in table and column names. This results in hashlib barfing when feeding it with a unicode SQL string (default encoding is ascii which is no good).
The solution is quite simple, encode the unicode string before feeding it to hashlib. Patch attached.