encode MD5 in default encoding instead of ASCII-8BIT
This commit is contained in:
parent
c7ab339753
commit
7983c03a0b
@ -68,7 +68,7 @@ module Rscons
|
|||||||
end
|
end
|
||||||
|
|
||||||
def calculate_checksum(file)
|
def calculate_checksum(file)
|
||||||
Digest::MD5.hexdigest(File.read(file))
|
Digest::MD5.hexdigest(File.read(file)).encode(__ENCODING__)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user