ensure all commit messages are encoded properly