If you have faced the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
本文提供了一个快速解决方案,以解决在MacOSX上遇到的与UTF-8编码相关的错误。只需在~/.bash_profile中添加两行代码:export LC_ALL=en_US.UTF-8 和 export LANG=en_US.UTF-8。
If you have faced the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
2546

被折叠的 条评论
为什么被折叠?