gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-05 06:46:13 25 4
gpt4 key购买 nike

我刚开始阅读 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com