local 是 utf-8 的时候 telnet gbk编码的bbs 会出现乱码
解决方法 : 使用 luit
解决方法 : 使用 luit
luit -encoding gbk telnet bbs.tsinghua.edu.cn
Luit is a filter that can be run between an arbitrary application and a UTF-8 terminal emulator. It will convert application output from the locale's encoding into UTF-8, and convert terminal input from UTF-8 into the locale's encoding.