炸裂, AI帮我排查出sublime显示中文文件名乱码问题!
现象:
控制台会报manpath: can't set the locale; make sure $LC_* and $LANG are correct
原因:
macOS 自带的 rsync 是 2.6.9(2006 年的版本),对 UTF-8 支持有 bug。即使设了正确的 locale,它还是会转义中文字符。
解决方法:
brew install rsync 安装最新版
炸裂, AI帮我排查出sublime显示中文文件名乱码问题!
现象:
控制台会报manpath: can't set the locale; make sure $LC_* and $LANG are correct
原因:
macOS 自带的 rsync 是 2.6.9(2006 年的版本),对 UTF-8 支持有 bug。即使设了正确的 locale,它还是会转义中文字符。
解决方法:
brew install rsync 安装最新版