svn客户端post-commit时,出现如下错误
post-commit hook failed (exit code 1) with output.
[Error output could not be translated from the native locale to UTF-8.]

解决方法:
其实上述错误是一个错误,执行post-commit脚本时文字编码造成的
在版本库hooks/post-commit文件中
原来是#export LANG=zh_CN.GBK
修改为export LANG=en_US.UTF-8即可(svn服务器默认是utf8)




相关文章:

  • 2021-07-23
  • 2021-11-23
  • 2022-01-03
  • 2021-07-09
  • 2021-12-14
  • 2021-07-20
猜你喜欢
  • 2021-05-04
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
相关资源
相似解决方案