当前位置:网站首页>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,保存(注意数据中间的空格)。
验证,中文已经成功显示,不在乱码。
边栏推荐
- Nacos 下载启动、配置 MySQL 数据库
- C# 调用系统声音 嘀~
- Openfeign facile à utiliser
- sqli-labs第2关
- Aneng logistics' share price hit a new low: the market value evaporated by nearly 10 billion yuan, and it's useless for chairman Wang Yongjun to increase his holdings
- Minecraft群组服开服
- Tensorflow2 keras 分类模型
- Kubernetes deploys Loki logging system
- Function ‘ngram‘ is not defined
- D interface and domain problems
猜你喜欢
随机推荐
Routing foundation - dynamic routing
Programmer training, crazy job hunting, overtime ridiculed by colleagues deserve it
Gocv boundary fill
汉诺塔问题的求解与分析
OpenFeign 简单使用
Synchronize files using unison
File upload Labs
C language - Blue Bridge Cup - 7 segment code
Dip1000 implicitly tagged with fields
Find the node with the smallest value range in the linked list and move it to the front of the linked list
Honeypot attack and defense drill landing application scheme
Dip1000 runaway
Benefits of ufcs of D
Solution of Xiaomi TV's inability to access computer shared files
Tensorflow2 keras classification model
C# 将网页保存为图片(利用WebBrowser)
使用递归函数求解字符串的逆置问题
Essay: RGB image color separation (with code)
gocv边界填充
Function ‘ngram‘ is not defined









