Hi there,
why is this code generating a problem?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeEr ror: 'ascii' codec can't encode character u'\xdc' in
position 6:
ordinal not in range(128)
Thank you.
why is this code generating a problem?
>>input = open('foo.img', 'rb').read().de code('ISO-8859-1')
>>import md5
>>md5.new(input ).hexdigest()
>>import md5
>>md5.new(input ).hexdigest()
File "<stdin>", line 1, in <module>
UnicodeEncodeEr ror: 'ascii' codec can't encode character u'\xdc' in
position 6:
ordinal not in range(128)
>>>
Comment