liquibase/liquibase — pull request #237 by Vampire (2014-02-07 00:44:57+00:00)
Title: make the check sum generation of sql and sqlFile changes independent of the default encoding which is different on different OS

If you have some non-ascii characters in your sql or sqlFile change that are checksum relevant, the generated checksum depends on the default encoding. This means you get different checksums if you run liquibase on windows (iso-8859-1) or linux (utf-8).
I even got different results on windows when running from the commandline and from within idea as idea seems to set the default charset of the VM it runs to utf-8.
With this change UTF-8 is always used to translate the characters to bytes and thus the checksum is os independent.