Putty的UTF-8问题

Putty有个非常恼人的UTF8问题,比如你用wget下载文件,包括文件名的双引号是显示成乱码的(奇怪这双引号是全角的),有个Trick可以修复这个问题,在.bashrc里加上

echo -ne '\e%G\e[?47h\e%G\e[?47l'

参考:9300i Putty UTF-8 Trick

This entry was posted in OS and tagged .

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>