works for me, too.
----
My testing:
There is a file named "pre-commit.sample" in .git/hooks folder, I rename it to "pre-commit".
Then, commit the file named "新文字文件.txt" and the error:
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
git did not exit cleanly (exit code 1) (3370 ms @ 2014-03-13 00:28:02)
Does the firewall block it?
(The first time I use "pre-commit", my firewall block it and it commit Success)