当前位置:网站首页>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 .
边栏推荐
- A detailed explanation takes you to reproduce the statistical learning method again -- Chapter 2, perceptron model
- Leetcode sword finger offer brush questions - day 23
- Shengshihaotong and Guoao (Shenzhen) new energy Co., Ltd. build the charging pile industry chain
- 洞见云原生|微服务及微服务架构浅析
- C Gaode map obtains the address according to longitude and latitude
- Gocv image cutting and display
- From concept to method, the statistical learning method -- Chapter 3, k-nearest neighbor method
- 一个经典约瑟夫问题的分析与解答
- Servlet全解:继承关系、生命周期、容器和请求转发与重定向等
- oracle删除表空间及用户
猜你喜欢
以字节跳动内部 Data Catalog 架构升级为例聊业务系统的性能优化
京东面试官问:LEFT JOIN关联表中用ON还是WHERE跟条件有什么区别
【Go实战基础】gin 高效神器,如何将参数绑定到结构体
微服务实战|微服务网关Zuul入门与实战
Chrome用户脚本管理器-Tampermonkey 油猴
What is the future value of fluorite mine of karaqin Xinbao Mining Co., Ltd. under zhongang mining?
How to realize asynchronous programming in a synchronous way?
十年開發經驗的程序員告訴你,你還缺少哪些核心競爭力?
[staff] time mark and note duration (staff time mark | full note rest | half note rest | quarter note rest | eighth note rest | sixteenth note rest | thirty second note rest)
Microservice practice | teach you to develop load balancing components hand in hand
随机推荐
Image transformation, transpose
C language implementation of mine sweeping game
双非本科生进大厂,而我还在底层默默地爬树(上)
【Go实战基础】gin 如何绑定与使用 url 参数
Gocv boundary fill
C # save web pages as pictures (using WebBrowser)
Matplotlib swordsman Tour - an artist tutorial to accommodate all rivers
QT drag event
[go practical basis] how to set the route in gin
告别996,IDEA中必装插件有哪些?
长篇总结(代码有注释)数构(C语言)——第四章、串(上)
[go practical basis] how to verify request parameters in gin
【Go实战基础】gin 如何设置路由
QT -- how to set shadow effect in QWidget
2022/2/14 summary
微服务实战|手把手教你开发负载均衡组件
微服务实战|声明式服务调用OpenFeign实践
Find the node with the smallest value range in the linked list and move it to the front of the linked list
AMQ 4043 solution for errors when using IBM MQ remote connection
[go practical basis] gin efficient artifact, how to bind parameters to structures