pre-commit hook and utf8