Skip to content

是否要将代码页从 GBK 切换到 UTF-8?(只支持 Windows 10 和 11) #73

@larryli

Description

@larryli

中文 Windows 默认都是采用 GBK 代码页 936。而从 Windows 10 开始,支持默认代码页设置为 UTF-8(Windows 区域设置为”Beta版:使用 Unicode UTF-8 提供全球语言支持“)(参见知乎问题)。

所以会存在当前打包的 PuTTY 在 UTF-8(代码页 65001)下乱码的情况,参见 #64

对于 Windows 10/11 来说,应用程序可以指定代码页为 UTF-8 来兼容代码页为 GBK(或是其他代码页)的系统。

这样,对于 PuTTY 这种基于 Code Page 而 Unicode 的应用程序,也能在不同代码页的 Windows 不产生乱码。但缺点是只支持 Windows 10 和 11。

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions