ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf

上传人:visitstep340 文档编号:436343 上传时间:2018-11-14 格式:PDF 页数:55 大小:2.99MB
下载 相关 举报
ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf_第1页
第1页 / 共55页
ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf_第2页
第2页 / 共55页
ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf_第3页
第3页 / 共55页
ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf_第4页
第4页 / 共55页
ANSI INCITS ISO IEC 2022-1994 Information Technology - Character Code Structure and Extension Techniques《信息技术.字符代码结构与扩充技术》.pdf_第5页
第5页 / 共55页
亲,该文档总共55页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、INTERNATIONAL STANDARD ISOJIEC 2022 Fourth edition 1994-l 2-01 Information technology - Character code structure and extension techniques Technologies de /information - Structure de code de caracthres et techniques dextension Reference number ISO/IEC 2022:1994(E) Adopted by INCITS (InterNational Com

2、mittee for Information Technology Standards) as an American National Standard.Date of ANSI Approval: 1/14/99Published by American National Standards Institute,25 West 43rd Street, New York, New York 10036Copyright 2002 by Information Technology Industry Council (ITI).All rights reserved.These materi

3、als are subject to copyright claims of International Standardization Organization (ISO), InternationalElectrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council(ITI). Not for resale. No part of this publication may be reproduced in an

4、y form, including an electronic retrieval system, withoutthe prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaCopyright American National Standards Institute Provided b

5、y IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ISO/IEC 2022:1994 (E) Contents Page Section 1 - General 1 1 Scope 1 2 Conformance 2.1 Types of conformance 2.2 Conformance of information interchange 2.3 Conformance of devices 2.3.1 Devic

6、e description 2.3.2 Originating devices 2.3.3 Receiving devices 3 Normative references 4 Definitions 4.1 bit combination 4.2 byte 4.3 character 4.4 coded-character-data-element (CC-data-element) 4.5 coded character set; code 4.6 code extension 4.7 code table 4.8 combining character 4.9 control chara

7、cter 4.10 control function 4.11 to designate 4.12 device 4.13 escape sequence 4.14 Final Byte 4.15 graphic character 4.16 graphic symbol 4.17 Intermediate Byte 4.18 to invoke 4.19 repertoire 4.20 to represent 4.21 user 5 Notation, code tables and names 5.1 Notation 5.2 Code tables 5.3 Names of chara

8、cters Section 2 - Character sets and codes 6 Characters and character sets ROIIEC 1994 All nghts reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without per- mission in writing from the p

9、ublisher ISO/IEC Copyright Office l Case Postale 56 l CH-1211 Gen b) when the code extension techniques specified in this International Standard are used, they shall be implemented by the control functions and code-identification functions defined in this Standard with the meaning and coded represen

10、tation specified in this Standard; c) no coded representation that is either reserved for registration and not assigned, or reserved for future use, shall be used; d) no registered escape sequence shall be used with a meaning different from that defined by the registration. 2.3 Conformance of device

11、s A device is in conformance with this International Standard if it conforms to the requirements of 2.3.1, and either or both of 2.3.2 and 2.3.3 below. Any claim of conformance shall identify the document which contains the description specified in 2.3.1. 2.3.1 Device description A device that confo

12、rms to this International Standard shall be the subject of a description that a) identifies either directly, or by reference to a specification that is in accordance with this International Standard, the selection of facilities from this Standard that it can utilize when originating or when receivin

13、g CC-data-elements; b) identifies the means by which the user may supply the corresponding characters and functions, or may recognize them when they are made available to the user, as specified in 2.3.2 and 2.3.3 respectively. 2.3.2 Originating devices An originating device shall be capable of trans

14、mitting within a CC-data-element the coded representations of graphic characters from one or more graphic character sets, and of an identified selection of control functions and code-identification functions conforming to this International Standard. Such a device shall allow the user to supply, fro

15、m an appropriate set, characters or other indications which will implicitly or explicitly determine the graphic characters, control functions, and code-identification functions whose coded representations are to be transmitted. 2.3.3 Receiving devices A receiving device shall be capable of receiving

16、 within a CC-data-element and interpreting the coded representations of graphic characters from one or more graphic character sets, and an identified selection of control functions and code- identification functions conforming to this International Standard. Such a device shall make available to the

17、 user, from an appropriate set, characters or other indications which are implicitly or explicitly determined by the graphic characters, control functions, and code-identification functions whose coded representations are received. 2 Copyright American National Standards Institute Provided by IHS un

18、der license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-0 ISO/IEC ISO/IEC 2022: 1994 (E) 3 Normative references The following standards contain provisions which, through reference in this text, constitute provisions of this International Standard. At t

19、he time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this International Standard are encouraged to investigate the possibility of applying the most recent editions of the standards listed below. Members of IEC and IS0 ma

20、intain registers of currently valid standards. IS0 2375:1985, Data processing - Procedure for registration of escape sequences. ISO/IEC 6429: 1992, Information technology - Controlfunctions for coded character sets. IS0 8824:1990, Information technology - Open Systems Interconnection - Specification

21、 of Abstract Syntax Notation One (ASN. I). IS0 8825: 1990, Information technology - Open Systems Interconnection - Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1). IS0 International Register of Coded Character Sets to be Used with Escape Sequences. 4 Definitions For th

22、e purposes of this International Standard, the following definitions apply. 4.1 bit combination: An ordered set of bits used for the representation of characters. 4.2 byte: A bit string that is operated upon as a unit. Note - Each bit has the value either ZERO or ONE. 4.3 character: A member of a se

23、t of elements used for the organization, control or representation of data. 4.4 coded-character-data-element (CC-data-element): An element of interchanged information that is specified to consist of a sequence of coded representations of characters, in accordance with one or more identified standard

24、s for coded character sets. Notes 1 - In a communication environment in accordance with the Reference Model for Open Systems Interconnection of IS0 7498, a CC-data-element will form all or part of the information that corresponds to the Presentation-Protocol-Data-Unit (PPDU) defined in that Internat

25、ional Standard. 2 - When information interchange is accomplished by means of interchangeable media, a CC-data-element will form all or part of the information that corresponds to the user data, and not that recorded during formatting and initialization. 4.5 coded character set; code: A set of unambi

26、guous rules that establishes a character set and the one-to-one relationship between the characters of the set and their bit combinations. 4.6 code extension: The techniques for the encoding of characters that are not included in the character set of a given code. 4.7 code table: A table showing the

27、 character allocated to each bit combination in a code. 4.8 combining character: A member of an identified subset of a coded character set, intended for combination with the preceding or following graphic character, or with a sequence of combining characters preceded or followed by a non- combining

28、character. 4.9 control character: A control function the coded representation of which consists of a single bit combination. 4.10 control function: An action that affects the recording, processing, transmission or interpretation of data, and that has a coded representation consisting of one or more

29、bit combinations. 4.11 to designate: To identify a set of characters that are to be represented, in some cases immediately and in others on the occurrence of a further control function, in a prescribed manner. Copyright American National Standards Institute Provided by IHS under license with ANSINot

30、 for ResaleNo reproduction or networking permitted without license from IHS-,-,-ISO/IEC 2022:1994 (E) 8 1s0/lEc 4.12 device: A component of information processing equipment which can transmit, and/or can receive, coded information within CC-data-elements. Note - It may be an input/output device in t

31、he conventional sense, or a process such as an application program or a gateway function. 4.13 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. Note -In this Inter

32、national Standard ESCAPE is always referred to as a control character. 4.14 Final Byte: The bit combination that terminates an escape sequence or a control sequence. 4.15 graphic character: A character, other than a control function, that has a visual representation normally handwritten, printed or

33、displayed, and that has a coded representation consisting of one or more bit combinations. 4.16 graphic symbol: A visual representation of a graphic character or of a control function. 4.17 Intermediate Byte: A bit combination which may occur between that of the control character ESCAPE and the Fina

34、l Byte in an escape sequence. 4.18 to invoke: To cause a designated set of characters to be represented by the prescribed bit combinations whenever those bit combinations occur. 4.19 repertoire: A specified set of characters that are each represented by one or more bit combinations of a coded charac

35、ter set. 4.20 to represent: a) To use a prescribed bit combination with the meaning of a character in a set of characters that has been designated and invoked; or b) To use an escape sequence with the meaning of an additional control function. 4.21 user: A person or other entity that invokes the ser

36、vices provided by a device. Notes 1 - This entity may be a process such as an application program if the “device” is a code convertor or a gateway function, for example. 2 - The characters, as supplied by the user or made available to the user, may be in the form of codes local to the device, or of

37、non-conventional visible representations, provided that 2.3 above is satisfied. 5 Notation, code tables and names 5.1 Notation The bits of the bit combinations of the g-bit code are identified by b, b, b, b, b, b, b, and b, where b, is the highest order, or most-significant, bit and b, is the lowest

38、-order, or least-significant, bit. The bits of the bit combinations of the 7-bit code are identified by b, b, b, b, b, b, and b, where b, is the highest order, or most-significant, bit and b, is the lowest-order, or least-significant, bit. The bit combinations may be interpreted to represent integer

39、s in binary notation, in the range 0 to 255 for the 4 Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-0 1s0mx ISOAEC 2022:1994 (E) - x for the 7-bit code is the number represente

40、d by b, b, and b, where these bits are given the weights 4, 2 and 1 respectively; - y is the number represented by b, b, b2 and b, where these bits are given the weights 8,4,2 and 1 respectively. The notations of the form x/y are the same as those used to identify code table positions, where x is th

41、e column number and y the row number (see 5.2). 5.2 Code tables An 8-bit code table consists of 256 positions arranged in 16 columns and 16 rows. The columns and rows are numbered 00 to 15 (see figure 1). A 7-bit code table consists of 128 positions arranged in 8 columns and 16 rows. The columns are

42、 numbered 00 to 07 and the rows 00 to 15 (see figure 1). The code table positions are identified by notations of the form x/y, where x is the column number and y is the row number. By convention, leading zeroes are included in the column and row numbers (e.g. 02/01). The positions of the code table

43、are in one-to-one correspondence with the bit combinations of the code. The notation of a code table position, of the form x/y, is the same as that of the corresponding bit combination. 7-bit 5.3 Names of characters g-bit Figure 1 - Code tables This International Standard assigns one name to each ch

44、aracter. In addition, it specifies an acronym for each control character and for the characters SPACE and DELETE. By convention, only capital letters, space and hyphen are used for writing the names of the characters. For acronyms only capital letters and digits are used. It is intended that the acr

45、onyms and this convention be retained in all translations of the text. Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ISO/JEC 2022:1994 (E) Section 2 - Character sets and codes

46、0 ISO/IEC 6 Characters and character sets 6.1 Types of characters and character sets The structure of g-bit and 7-bit codes specified by this International Standard makes use of the following types of characters, character sets, and functions: - fixed coded characters, - sets of coded graphic charac

47、ters, - sets of coded control functions (or control characters), - coded single additional control functions. These components are specified respectively in 6.2 to 6.5 below. The coded representations of the graphic characters and control functions are specified in relation to the g-bit and 7-bit co

48、de tables defined in 5.2 above. A coded representation for each type of component is specified within columns 00 to 07 of the g-bit and 7-bit code tables. For some components an alternative coded representation is specified in columns 08 to 15 of the g-bit code table, and is not applicable to any 7-

49、bit code. 6.2 Fixed coded characters 6.2.1 Character DELETE Name: DELETE Acronym: DEL Coded representation: 07/15 DEL was originally used to erase or obliterate an erroneous or unwanted character in punched tape. DEL may be used for media-fill or time-fill. DEL characters may be inserted into, or removed from, a CC-data-element without affecting its information content, but such action may affect the information layout and/or the control of equipment. 6.2.2 Character ES

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > ANSI

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1