0xd7专题

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xd7

安装mamba时报错 检查报错原因: file -i ~/.bashrcfile -i ~/.profile 发现bashrc的编码不正确 对编码格式进行修改 iconv -f ISO-8859-1 -t UTF-8 ~/.bashrc > ~/.bashrc.utf8mv ~/.bashrc.utf8 ~/.bashrccp ~/.bashrc ~/.bashrc.backup