Mac 下 wget 时 报错 Warning: Failed to set locale category 问题解决之一
错误如下:
Warning: Failed to set locale category LC_NUMERIC to en_CN.
Warning: Failed to set locale category LC_TIME to en_CN.
Warning: Failed to set locale category LC_COLLATE to en_CN.
Warning: Failed to set locale category LC_MONETARY to en_CN.
Warning: Failed to set locale category LC_MESSAGES to en_CN
解决方法: vim ~/.zshrc 添加
export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8