Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文乱码 #347

Closed
Asura88 opened this issue Dec 7, 2021 · 13 comments
Closed

中文乱码 #347

Asura88 opened this issue Dec 7, 2021 · 13 comments

Comments

@Asura88
Copy link

Asura88 commented Dec 7, 2021

中文乱码

@funkpopo
Copy link

funkpopo commented Dec 8, 2021

版本号、系统版本、截图。
不要再用这种过于简单的描述提issue

@bestv5
Copy link

bestv5 commented Dec 17, 2021

中文乱码

你这有点狠了,就说乱码,其他啥信息也不提供,全靠让人猜 😄

@Asura88
Copy link
Author

Asura88 commented Dec 17, 2021

操作系统:Mac OS 12.0.1

软件版本:2.1.0

终端查询文件,文件名是中文就乱码

image

@bestv5
Copy link

bestv5 commented Dec 22, 2021

这个是你本地的终端吧,你可以在session配置里修改下编码看看

@shvc
Copy link

shvc commented Feb 3, 2022

Macos 11.6
WindTerm 2.3.0
local Chinese filename garbled
windterm-garbled

@shvc
Copy link

shvc commented Feb 3, 2022

workaround

echo 'export LANG=zh_CN.UTF-8' >> ~/.zshrc
echo 'export LANG=zh_CN.UTF-8' >> ~/.bashrc

@Asura88 临时解决办法配置下LANG环境变量

@bestv5
Copy link

bestv5 commented Feb 3, 2022

按下面的方法试试看。

在终端下输入
vi ~/.zshrc
或者使用其他你喜欢的编辑器编辑~/.zshrc 在文件内容末端添加:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
接着重启一下终端,或者输入
source ~/.zshrc
一切就OK了。

@Ran-Xing
Copy link

Ran-Xing commented Mar 5, 2022

dpkg-config 啥来着

@Ran-Xing
Copy link

Ran-Xing commented Mar 5, 2022

应该是服务端的问题,当然如果普通终端不乱码,那问题就在你们软件上了

@shvc
Copy link

shvc commented Mar 6, 2022

dpkg-config 啥来着

大哥, Mac OS哪来的dpkg!

@yeahthon
Copy link

yeahthon commented Mar 6, 2022 via email

@Ran-Xing
Copy link

Ran-Xing commented Mar 6, 2022

@shvc 你是憨,我都说了应该是服务器问题,光设置环境变量有啥用,有没有装字符集字体还另说

@Asura88 Asura88 closed this as completed Mar 6, 2022
@shvc
Copy link

shvc commented Mar 7, 2022

@shvc 你是憨,我都说了应该是服务器问题,光设置环境变量有啥用,有没有装字符集字体还另说

@XRSec 你才憨, 人家这是本地终端,本地本地文件名乱码, 哪来的服务器?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants