当前位置:网站首页>Cmder Chinese garbled code problem
Cmder Chinese garbled code problem
2022-04-23 07:22:00 【dotphoenix】
stay Windows In the installation of cmder1.3.2, The default client code is simplified Chinese (gbk). If the character encoding of some commands is utf-8, There will be the problem of Chinese character garbled .
here , We can be cmder The character encoding of is changed to utf-8, To solve the problem of Chinese garbled code . There are two ways .
Temporary modification cmder Character encoding of
open cmder, Just run the following command :
chcp
chcp 65001
explain :
chcp View the character encoding of the current window .
chcp 65001 Temporarily set the character encoding of the current window to utf-8, Immediate effect .
936 Stands for simplified Chinese ;65001 representative utf-8.
Permanent modification cmder Character encoding of
First , open cmder, Press the shortcut key Win + Alt + P, Type in the search box chcp Back carriage return , You can see cmder Configuration input box ( Equate to Settings-->Startup-->Environment).
then , In the configuration box , add to
chcp 65001
set LANG=zh_CN.UTF-8
Save settings .
Last , restart cmder, Just make the configuration file work .
matters needing attention
because cmder Built in git command , If in cmder Use in git On command , Garbled . The following solutions can be used :
Direct to Git Official website Download independent Git client , It can be installed by default .
————————————————
Copyright notice : This paper is about CSDN Blogger 「lamp_yang_3533」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/lamp_yang_3533/article/details/79841328
版权声明
本文为[dotphoenix]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230609059349.html
边栏推荐
- 【點雲系列】SG-GAN: Adversarial Self-Attention GCN for Point Cloud Topological Parts Generation
- Handlerthread principle and practical application
- xcode 编译速度慢的解决办法
- Raspberry Pie: two color LED lamp experiment
- “Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated
- winform滚动条美化
- torch.where能否传递梯度
- 第1章 NumPy基础
- MySQL数据库安装与配置详解
- swin transformer 转 onnx
猜你喜欢
【点云系列】Multi-view Neural Human Rendering (NHR)
Chapter 3 pytoch neural network toolbox
第5 章 机器学习基础
[3D shape reconstruction series] implicit functions in feature space for 3D shape reconstruction and completion
PyTorch 10. 学习率
Gephi tutorial [1] installation
[2021 book recommendation] kubernetes in production best practices
Chapter 2 pytoch foundation 2
第8章 生成式深度学习
【点云系列】点云隐式表达相关论文概要
随机推荐
Android exposed components - ignored component security
[dynamic programming] longest increasing subsequence
Infrared sensor control switch
【3D形状重建系列】Implicit Functions in Feature Space for 3D Shape Reconstruction and Completion
机器学习 二:基于鸢尾花(iris)数据集的逻辑回归分类
“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated
[recommendation of new books in 2021] enterprise application development with C 9 and NET 5
多机多卡训练时的错误
GEE配置本地开发环境
EasyUI combobox determines whether the input item exists in the drop-down list
【动态规划】不同路径2
Pytoch model saving and loading (example)
MySQL数据库安装与配置详解
Pytorch模型保存与加载(示例)
Machine learning III: classification prediction based on logistic regression
Paddleocr image text extraction
直观理解 torch.nn.Unfold
Visual Studio 2019安装与使用
机器学习——模型优化
树莓派:双色LED灯实验