why the split line of tmux within putty shows different(xxxxx, qqqqqq)in these tow cases?

纵饮孤独 提交于 2019-12-11 01:53:25

问题


Why the split line of tmux within PuTTY shows different(xxxxx, qqqqqq)in these tow cases? If I do not set PuTTY any thing(the default "Use font encoding"), the split line of pane shows like following:

But it can't show Chinese word correctly, so I set PuTTY's Window -> Translation -> Remote character set to UTF-8. Then the split line of pane become to like that:

Using “xxx qqqq” seems very ugly.

BTW: echo $LANG shows “zh_CN.UTF-8”

So, in this case, How to show Chinese word correctly with the first split line?


回答1:


I had the same problem with Putty with character set set to UTF-8.

Launching tmux with -u option did the trick (tmux -u)




回答2:


I was having the same issue except I was not trying to display Chinese characters. For the ugly line break ( xxxx qqqq), take a look at Tmux borders displayed as x q instead of lines?. For me, there are two version of tmux installed and switching to the newer version solves the problem. You may want to upgrade your tmux. Hope it helps.



来源:https://stackoverflow.com/questions/20199063/why-the-split-line-of-tmux-within-putty-shows-different-xxxxx-qqqqqq-in-these-t

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!