hash unicode string in python,hashlib.sha1(s.encode('utf-8'))