Author vvro
Recipients lemburg, rhettinger, vvro
Date 2008-05-23.04:19:43
SpamBayes Score 0.0281447
Marked as misclassified No
Message-id <>
You could just make a check for unicode strings and issue the encode in
the hash function.
I understand the byte abstraction, but if you issue an encode on a
unicode string with only ascii chars it gets converted to the same in
ascii, result will be the same.

So i got to do md5(u'joão'.encode("utf-8"))?
Wasn't unicode becoming the default?

If I do md5(u'john'), it works. And that's a unicode string. It should
have told me, no unicode then...
Date User Action Args
2008-05-23 04:19:48vvrosetspambayes_score: 0.0281447 -> 0.0281447
recipients: + vvro, lemburg, rhettinger
2008-05-23 04:19:47vvrosetspambayes_score: 0.0281447 -> 0.0281447
messageid: <>
2008-05-23 04:19:45vvrolinkissue2948 messages
2008-05-23 04:19:44vvrocreate