什么是ANSI格式? [英] What is ANSI format?

查看:315
本文介绍了什么是ANSI格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是ANSI编码格式?它是系统默认格式吗?
与ASCII有什么不同?

What is ANSI encoding format? Is it a system default format? In what way does it differ from ASCII?

推荐答案

ANSI编码是一个略微通用的术语,标准代码页在系统上,通常是Windows。它更适当地称为 Windows-1252 (至少在西部/美国系统,它可以代表其他系统上的某些其他 Windows代码页)。这本质上是一个 ASCII字符集扩展,因为它包括所有ASCII字符和一个附加128个字符代码。这种差异是由于ANSI编码是8位而不是7位,因为ASCII是(ASCII现在几乎总是被编码为8位字节,其中 MSB 设置为0)。有关为什么此编码通常称为ANSI的解释,请参阅文章。

ANSI encoding is a slightly generic term used to refer to the standard code page on a system, usually Windows. It is more properly referred to as Windows-1252 (at least on Western/U.S. systems, it can represent certain other Windows code pages on other systems). This is essentially an extension of the ASCII character set in that it includes all the ASCII characters with an additional 128 character codes. This difference is due to the fact that "ANSI" encoding is 8-bit rather than 7-bit as ASCII is (ASCII is almost always encoded nowadays as 8-bit bytes with the MSB set to 0). See the article for an explanation of why this encoding is usually referred to as ANSI.

名称ANSI是一个不当名词,因为它不对应于任何实际ANSI标准,但名称已卡住。 ANSI与UTF-8不同。

The name "ANSI" is a misnomer, since it doesn't correspond to any actual ANSI standard, but the name has stuck. ANSI is not the same as UTF-8.

这篇关于什么是ANSI格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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