默认情况下如何在 cmd.exe 中制作 Unicode 字符集? [英] How to make Unicode charset in cmd.exe by default?

查看:20
本文介绍了默认情况下如何在 cmd.exe 中制作 Unicode 字符集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows cmd.exe 中默认安装的 866 字符集与光荣的 Unicode 相比,性能较差且不方便.

866 charset installed by default in Windows' cmd.exe is poor and inconvinient as compared with glorious Unicode.

我是否可以默认安装 Unicode 或将 cmd.exe 替换到另一个控制台并将其设为默认值以便程序使用它而不是 cmd.exe?

Can I install Unicode by default or replace cmd.exe to another console and make it default so programms use it instead of cmd.exe?

我了解 chcp 65001 仅在正在运行的控制台中更改编码.我想在系统级别更改字符集.

I understand that chcp 65001 changes encoding only in the running console. I want to change charset at the system level.

推荐答案

在我尝试了 algirdas 的解决方案后,我的 Windows 崩溃了(Win 7 Pro 64 位)所以我决定尝试一个不同的解决方案:

After I tried algirdas' solution, my Windows crashed (Win 7 Pro 64bit) so I decided to try a different solution:

  1. 开始运行 (Win+R)
  2. 输入cmd/K chcp 65001
  1. Start Run (Win+R)
  2. Type cmd /K chcp 65001

你会得到大部分你想要的.要从任务栏或其他任何地方启动它,请创建一个快捷方式(您可以将其命名为 cmd.unicode.exe 或任何您喜欢的名称)并将其 Target 更改为 C:WindowsSystem32cmd.exe/K chcp 65001.

You will get mostly what you want. To start it from the taskbar or anywhere else, make a shortcut (you can name it cmd.unicode.exe or whatever you like) and change its Target to C:WindowsSystem32cmd.exe /K chcp 65001.

这篇关于默认情况下如何在 cmd.exe 中制作 Unicode 字符集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆