encode MD5 in default encoding instead of ASCII-8BIT

This commit is contained in:
josh committed 2013-06-29 20:20:11 -04:00
1 parent c7ab339753
commit 7983c03a0b
1 file changed
+1 -1
+1 -1
View File
@@ -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