ISO/IEC 14651:2007【废止】Information technology — International string ordering and comparison — Method for comparing character strings and description of the common template tailorable ordering
- 中文题名:信息技术.国际字符串排序和比较.比较字符串的方法和通用模板可定制排序的描述
- 电子版:
- ¥541
ISO/IEC 14651:2007定义了以下内容。
参考比较法。该方法适用于两个字符串,以确定它们在排序列表中的排序顺序。该方法可以应用于包含来自ISO/IEC 10646完整库的字符的字符串。该方法也适用于该库的子集,例如不同ISO/IEC 8位标准字符集的子集,或任何其他字符集,无论是否标准化,以产生对每个脚本的给定语言集有效(在定制之后)的排序结果。该方法使用从ISO/IEC 14651中定义的通用模板表或从其定制之一导出的整理表。该方法提供了一种参考格式。该格式使用Backus-Naur形式(BNF)描述。此格式用于描述公共模板表。该格式在ISO/IEC 14651:2007中规范使用。
通用模板表。参考比较方法使用公共模板表的给定定制。通用模板表描述了ISO/IEC 10646:2003直到修订2中编码的所有字符的顺序,加上字符梵文字母GGA、梵文字母JJA、梵文字母DDDA和梵文字母BBA(分别为字符U097B、U097C、U097E和U097F)。它允许完全确定性排序的规范。该表使得能够指定适合于本地排序规则的字符串排序,而不需要实施者了解已经在UCS中编码的所有不同脚本。
注1此通用模板表将被修改以适应本地环境的需要。全球范围内的主要好处是,对于其他脚本,通常不需要修改,并且从国际角度来看,顺序将尽可能保持一致和可预测。
注2 ISO/IEC 14651:2007中使用的字符集等同于Unicode标准5.0版的字符集。
参考名称。参考名称指的是通用模板表的这个特定版本,以便在裁剪时用作参考。特别地,该名称意味着该表与ISO/IEC 10646通用多八位字节编码字符集的特定开发阶段相关联。
声明排序规则表和通用模板表之间差异(增量)的要求。
ISO/IEC 14651:2007未强制要求以下内容。
具体的比较方法;给出相同结果的任何等效方法都是可接受的。
在给定实现中描述或定制表的特定格式。
实现要使用的特定符号,公共模板表的名称除外。
用于选择选项的任何特定用户界面。
比较时使用的中间键的任何特定内部格式,也不是所使用的表的任何特定内部格式。数字键的使用也不是强制性的。
依赖于上下文的排序。
比较前字符串的任何特殊准备。
注1:即使ISO/IEC 14651:2007没有规定,通常也需要在比较前准备字符串(参见资料性附录C)。
注2尽管不需要用户界面来选择选项或指定通用模板表的定制,但一致性要求始终声明适用的增量,即与该表的差异声明。建议流程向用户提供可用的定制选项。 ISO/IEC 14651:2007 defines the following. NOTE 1 This Common Template Table is to be modified to suit the needs of a local environment. The main worldwide benefit is that, for other scripts, often no modification is required and the order will remain as consistent as possible and predictable from an international point of view. NOTE 2 The character repertoire used in ISO/IEC 14651:2007 is equivalent to that of the Unicode Standard version 5.0. ISO/IEC 14651:2007 does not mandate the following. NOTE 1 It is normally necessary to do preparation of character strings prior to comparison even if it is not prescribed by ISO/IEC 14651:2007 (see informative Annex C). NOTE 2 Although no user interface is required to choose options or to specify tailoring of the Common Template Table, conformance requires always declaring the applicable delta, a declaration of differences with this table. It is recommended that processes present available tailoring options to users.
起 草 人:
归口单位:
ISO/IEC JTC 1/SC 2
