系统版本: windows11 专业版 23H2 更新时间: 2024/5/2 所需软件: 无需安装软件 教程来源: https://blog.csdn.net/qq_22512533/article/details/75408984
最近在写一个截切板同步软件。win端和服务端的编码不一样,导致发过去的中文是乱码 所以打算改下编码
在任意位置创建一个文本文件,将下面的代码输入到里面
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Command Processor]
"Autorun"="@chcp 65001>nul"

将后缀改为 .reg

双击运行后重启命令提示符即可
