glance
glance copied to clipboard
中文显示乱码
xshell中,显示中文乱码。

不是中文的原因,初步来看是编码的原因
使用file -i a.txt查看编码
将编码转换为UTF-8即可
iconv -f a.txt -t UTF-8 a.txt > output.txt