gpt4 book ai didi

tmux - 为什么putty中tmux的分割线在这两种情况下显示不同(xxxxx,qqqqqq)?

转载 作者:行者123 更新时间:2023-12-01 20:27:45 24 4
gpt4 key购买 nike

为什么这两种情况下PuTTY中tmux的分割线显示不同(xxxxx,qqqqqq)?如果我没有设置 PuTTY 任何东西(默认“使用字体编码”), Pane 的分割线显示如下: enter image description here

但是不能正确显示中文单词,所以我将PuTTY的Window -> Translation -> Remote character set设置为UTF-8。然后 Pane 的分割线变成这样: enter image description here

用“xxx qqqq”好像很丑。

顺便说一句:echo $LANG 显示“zh_CN.UTF-8”

那么,在这种情况下,第一个分割线如何正确显示中文单词?

最佳答案

我在使用 Putty 时遇到了同样的问题,字符集设置为 UTF-8。

使用 -u 选项启动 tmux 就可以了(tmux -u)

关于tmux - 为什么putty中tmux的分割线在这两种情况下显示不同(xxxxx,qqqqqq)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20199063/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com