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