Subversionのpre-sommit,post-commit時にUTF-8のエラーが出力された。

コミット時に動作するフックスクリプトの実行でエラーが発生した。
特に文字コードを変更するや設定を変更するということは行っていないのだが、発症。

フックスクリプト自体をコマンドプロントとから実行すると動作する。

環境はWindows server 2008 R2Apacheを使用してSubversion(1.6系)を運用している。

Commit blocked by pre-commit hook (exit code 1) with output: [Erro output could not be translated from the native locale to UTF-8.]

対策
結果から言うとマシンの再起動を行ったところ、フックスクリプトが動作するようになった。