当前位置:网站首页>cmd窗口中中文呈现乱码解决方法
cmd窗口中中文呈现乱码解决方法
2022-07-02 06:32:00 【Axi-ZYTao】
当我在虚拟机(Windows10)上使用cmd登录数据库时,发现里面中文显示乱码,网上很多方法说的是在cmd界面输入CHCP 65001做字符切换,但是我试了以后,好像并没有解决我的问题。
因为使用命令切换只是临时起作用,要想永久解决,则需要修改注册表;使用WIN+R打开命令窗口,输入regedit,回车打开注册表;
按照以下路径找到指定位置:
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Command Processor
右键新建字符串值,在修改数据为 chcp 65001,保存(注意数据中间的空格)。
验证,中文已经成功显示,不在乱码。
边栏推荐
- gocv边界填充
- Sentinel 简单使用
- commands out of sync. did you run multiple statements at once
- C language replaces spaces in strings with%20
- Linux binary installation Oracle database 19C
- OpenShift 容器平台社区版 OKD 4.10.0部署
- Kubesphere virtualization KSV installation experience
- HackTheBox-Gunship
- 一个经典约瑟夫问题的分析与解答
- Luogu greedy part of the backpack line segment covers the queue to receive water
猜你喜欢
Luogu greedy part of the backpack line segment covers the queue to receive water
Data asset management function
Detailed explanation of NIN network
小米电视不能访问电脑共享文件的解决方案
Gateway is easy to use
Qunhui NAS configuring iSCSI storage
commands out of sync. did you run multiple statements at once
Sqli labs level 8 (Boolean blind note)
Solution of Xiaomi TV's inability to access computer shared files
Programmer training, crazy job hunting, overtime ridiculed by colleagues deserve it
随机推荐
Qunhui NAS configuring iSCSI storage
小米电视不能访问电脑共享文件的解决方案
Right click menu of QT
Getting started with k8s: building MySQL with Helm
汉诺塔问题的求解与分析
HCIA—應用層
Linux binary installation Oracle database 19C
Gocv image cutting and display
Essay: RGB image color separation (with code)
Nacos download, start and configure MySQL database
ICMP Protocol
Mysql安装时mysqld.exe报`应用程序无法正常启动(0xc000007b)`
Programmer training, crazy job hunting, overtime ridiculed by colleagues deserve it
Qt的拖动事件
Web security -- Logical ultra vires
Judge whether it is Sudoku
Viewing JS array through V8
sqli-labs第1关
PCL calculates the intersection of three mutually nonparallel planes
Minecraft群组服开服