iso - 什么是扩展 7 位(或 8 位)代码?

标签 iso ecma

我刚开始阅读 ECMA-48 standard (ISO/IEC 6429),并提出问题。

它说:

This Ecma Standard defines control functions and their coded representations for use in a 7-bit code, an extended 7-bit code, an 8-bit code or an extended 8-bit code.

这里的“扩展”7/8 位代码是什么意思?

最佳答案

ECMA-35 讨论了这些。这些术语是关键:

code extension: The techniques for the encoding of characters that are not included in the character set of a given code.

escape sequence: A string of bit combinations that is used for control purposes in code extension procedures. The first of these bit combinations represents the control function ESCAPE.

Character ESCAPE: ESCAPE is a control character used for code extension purposes. It causes the meaning of a limited number of the bit combinations following it in a CC-data-element to be changed. These bit combinations, together with the preceding bit combination that represents the ESC character, constitute an escape sequence.

因此,我们这里有一个系统,您可以在文本中间切换编码系统:您可以使用 Latin-1 编码开始文本,提供一个切换到 Latin-2 的转义序列,然后继续您的文本。 ECMA-35 在附录 A 中对此进行了讨论。第 13 章提供了有关转义序列结构的更多信息。

关于iso - 什么是扩展 7 位(或 8 位)代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17825894/

相关文章:

javascript - 如何在 Intl.NumberFormat 中获取正数的前导 '+'?

python - 从 Python 日期中提取两位数的月份和日期

java - 用于生成 ISO 文件的 Maven 插件

python - ISO 8859-1 文件名未解码

.net - .NET 基本类型有什么特别之处?

javascript - 当传递给 Javascript 中的函数时,x => x 是什么意思?

javascript - 初始化时 Eslint 错误!针对爱彼迎标准运行 'eslint --init' 时,JSON 中位置 139 处出现意外 token {

javascript - 如何运行/测试 ECMAScript 3 JavaScript 代码?

.net - C#中如何区分简体中文和繁体中文?

java - 将 ISO3 国家/地区代码转换为整个国家/地区名称,Android