propery encode the script before getting the sha1 value
propery encode the script before getting the sha1 value

it's possible a Lua script contains unicode characters. use the
client's encoding options to obtain the byte representation of
the script.

alisaifee/redis-py,5977862/redis-py,andymccurdy/redis-py,redis/redis-py,mozillazg/redis-py-doc,5977862/redis-py,alisaifee/redis-py,andymccurdy/redis-py,mozillazg/redis-py-doc,andymccurdy/redis-py,5977862/redis-py,redis/redis-py