当前位置:网站首页>Solutions to Chinese garbled code in CMD window
Solutions to Chinese garbled code in CMD window
2022-07-02 09:13:00 【Axi-ZYTao】
When I'm in virtual machine (Windows10) Upper use cmd When logging into the database , I found that the Chinese code inside is garbled , Many methods on the Internet say that cmd Interface input CHCP 65001 Do character switching , But after I tried , It doesn't seem to solve my problem .
Because switching with commands only works temporarily , To solve it permanently , You need to modify the registry ; Use WIN+R Open command window , Input regedit, Enter to open the registry ;
Follow the path below to find the specified location :
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Command Processor
Right click to create a new string value , After modifying the data to chcp 65001, preservation ( Notice the space in the middle of the data ).
verification , Chinese has been successfully displayed , It's not a mess .
边栏推荐
- 知识点很细(代码有注释)数构(C语言)——第三章、栈和队列
- 盘点典型错误之TypeError: X() got multiple values for argument ‘Y‘
- Number structure (C language -- code with comments) -- Chapter 2, linear table (updated version)
- During MySQL installation, mysqld Exe reports that the application cannot start normally (0xc000007b)`
- Solution and analysis of Hanoi Tower problem
- Microservice practice | fuse hytrix initial experience
- Don't spend money, spend an hour to build your own blog website
- Redis安装部署(Windows/Linux)
- Leetcode sword finger offer brush questions - day 22
- Talk about the secret of high performance of message queue -- zero copy technology
猜你喜欢
How to realize asynchronous programming in a synchronous way?
Microservice practice | teach you to develop load balancing components hand in hand
There is a problem with MySQL installation (the service already exists)
微服务实战|熔断器Hystrix初体验
[go practical basis] how to customize and use a middleware in gin
Chrome浏览器插件-Fatkun安装和介绍
Knowledge points are very detailed (code is annotated) number structure (C language) -- Chapter 3, stack and queue
[go practical basis] how can gin get the request parameters of get and post
Matplotlib swordsman Tour - an artist tutorial to accommodate all rivers
微服务实战|原生态实现服务的发现与调用
随机推荐
[staff] time sign and note duration (full note | half note | quarter note | eighth note | sixteenth note | thirty second note)
微服务实战|熔断器Hystrix初体验
Watermelon book -- Chapter 6 Support vector machine (SVM)
Jingdong senior engineer has developed for ten years and compiled "core technology of 100 million traffic website architecture"
[staff] common symbols of staff (Hualian clef | treble clef | bass clef | rest | bar line)
Matplotlib剑客行——没有工具用代码也能画图的造型师
微服务实战|原生态实现服务的发现与调用
[go practical basis] how to install and use gin
cmd窗口中中文呈现乱码解决方法
告别996,IDEA中必装插件有哪些?
Watermelon book -- Chapter 5 neural network
Gocv split color channel
From concept to method, the statistical learning method -- Chapter 3, k-nearest neighbor method
洞见云原生|微服务及微服务架构浅析
C# 高德地图 根据经纬度获取地址
概率还不会的快看过来《统计学习方法》——第四章、朴素贝叶斯法
Npoi export word font size correspondence
Chrome浏览器标签管理插件–OneTab
Micro service practice | introduction and practice of zuul, a micro service gateway
C language - Blue Bridge Cup - 7 segment code