加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

哪个Windows版本的Windows ANSI Western(cp 1252)首次出现?

发布时间:2020-12-14 05:31:06 所属栏目:Windows 来源:网络整理
导读:我想尽可能确定哪个版本的 Windows引入了 Windows ANSI Western字符编码. 我的主要嫌疑人是Windows 1.0(常识)和Windows 3.1. Windows 3.1是由MSDN上提供的Microsoft书籍所暗示的.它声明Windows 95使用的编码是在Windows 3.1中引入的.我不认为这是任何明确的
我想尽可能确定哪个版本的 Windows引入了 Windows ANSI Western字符编码.

我的主要嫌疑人是Windows 1.0(常识)和Windows 3.1.

Windows 3.1是由MSDN上提供的Microsoft书籍所暗示的.它声明Windows 95使用的编码是在Windows 3.1中引入的.我不认为这是任何明确的参考或甚至特别值得信赖,因为它过于含糊,因为它暗示了一些谎言(例如代码页437,原始的IBM PC字符集).

更新:在http://iana.org/assignments/character-sets我发现注册的IANA名称为“ISO-8859-1-Windows-3.0-Latin-1”和“ISO-8859-1-Windows-3.1-Latin-1”. “windows-1252”后来被注册(根据某处的讨论).在我看来,他们都引用相同的编码,在这种情况下,它似乎至少存在于Windows 3.0中.因此(如果为真)使MS书籍声明无效,其中暗示3.1,但仍然打开问题到底在哪里

解决方法

根据Charles Petzold在 chapter 2 of “Programming Windows” 5th edition中的说法,Windows ANSI Western编码已经在Windows 1.0中引入.

In Windows 1.0 (released in November 1985),Microsoft didn’t entirely abandon the IBM extended character set,but it was relegated to secondary importance. The native Windows character set was called the “ANSI character set” because it was based on a draft ANSI and ISO standard,which eventually became ANSI/ISO 885911987,“American National Standard for Information Processing 8-Bit Single-Byte Coded Graphic Character Sets Part 1: Latin Alphabet No 1.” This is also known more simply as “Latin 1.”

The original version of the ANSI character set as printed in the Windows 1.0 Programmer’s Reference is shown in Figure 2-2.

Windows 1.0于1985年发布,ISO Latin 1于1985年发布,Windows ANSI Western是Latin 1的扩展.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读