ISO/IEC 14651:2025【现行】
Information technology — International string ordering and comparison — Method for comparing character strings and description of the common template tailorable ordering
停用翻译

  • 中文题名:信息技术 - 国际字符串排序和比较 - 比较字符串和通用模板可描述排序的描述方法
  • 电子版:
    ¥1489
    英语/电子版加密PDF格式/约1分钟可下载/有水印/要装插件FileOpen/电脑需联网/限制累计3台电脑共打印5次
基本信息
标准号ISO/IEC 14651:2025
其他编号ISO/IEC 14651-2025
发布单位或类别国际组织-国际标准化组织(IX-ISO)
发布日期2025-07-22
实施日期
废止日期
适用范围/摘要

本文件定义了参考比较方法。该方法适用于两个或多个字符串,以确定它们在排序列表中的排序顺序。该方法可以应用于包含来自ISO/IEC 10646完整库的字符的字符串。该方法也适用于该库的子集,以产生对每个脚本的给定语言集有效(在定制之后)的排序结果。此方法使用从本文档引用的公共模板表(CTT)或从它们的定制之一派生的排序表。使用Backus-Naur形式(BNF)描述公共模板表的格式。该格式在本文档中规范使用。 本文档还定义了语法元素来定制引用比较方法使用的这些通用模板表。此外,它定义了对校对表和包括定制元素的给定公共模板表之间的差异(增量)的声明的要求。 这些通用模板表描述了当前和过去ISO/IEC 10646版本(包括修订版)中编码的所有字符的顺序。它们允许完全确定性排序的规范。这些表使得能够指定适合于本地排序规则的字符串排序,而不需要实现者了解已经在通用编码字符集(UCS)中编码的所有不同脚本。 所有这些通用模板表都具有与ISO/IEC 10646通用编码字符集的特定开发阶段或Unicode标准的特定版本相关的参考名称。这些名称及其与ISO/IEC 10646或Unicode标准库的关系由外部引用的文档指定:Unicode技术标准,UTS#10,Unicode排序算法。 本文件不包含: -规定一种具体的比较方法;给出相同结果的任何等效方法都是可接受的; -规定用于在给定实现中描述或定制表的特定格式; -强制实现使用特定符号; -为比较时使用的中间键规定任何特定的内部格式,也不为所使用的表规定任何特定的内部格式。数字键的使用也不是强制性的; -授权上下文相关排序; -要求在比较之前对字符串进行任何特定准备。 注1:即使本文件没有规定,通常也要在比较前准备字符串(见附录C)。注2附录D描述了本文件中出现的问题及其预期解决方案。

This document defines a reference comparison method. This method is applicable to two or more character strings to determine their collating order in a sorted list. The method can be applied to strings containing characters from the full repertoire of ISO/IEC 10646. This method is also applicable to subsets of that repertoire to produce ordering results valid (after tailoring) for a given set of languages for each script. This method uses collation tables derived either from the Common Template Tables (CTT) referenced by this document or from one of their tailoring. The format of the Common Template Table is described using the Backus-Naur Form (BNF). The format is used normatively within this document.

This document also defines syntax elements to tailor these Common Template Tables used by the reference comparison method. Furthermore, it defines requirements for a declaration of the differences (delta) between a collation table and a given Common Template Table including the tailoring elements.

These Common Template Tables describe an order for all characters encoded in the current and past ISO/IEC 10646 editions, including amendments. They allow for a specification of a fully deterministic ordering. These tables enable the specification of a string ordering adapted to local ordering rules, without requiring an implementer to have knowledge of all the different scripts already encoded in the Universal Coded Character Set (UCS).

All these Common Template Tables have reference names which are related to a particular stage of development of the ISO/IEC 10646 Universal coded character set or a particular version of the Unicode Standard. These names and their relationship with ISO/IEC 10646 or the Unicode Standard repertoire are specified by an externally referenced document: Unicode Technical Standard, UTS #10, Unicode Collation Algorithm.

This document does not:

—     mandate a specific comparison method; any equivalent method giving the same results is acceptable;

—     mandate a specific format for describing or tailoring tables in a given implementation;

—     mandate specific symbols to be used by implementations;

—     mandate any specific internal format for intermediate keys used when comparing, nor for the table used. The use of numeric keys is not mandated either;

—     mandate a context-dependent ordering;

—     mandate any particular preparation of character strings prior to comparison.

NOTE 1        It is typical to do preparation of character strings prior to comparison even if it is not prescribed by this document (see Annex C).

NOTE 2        Annex D describes problems that gave way to this document with their anticipated solutions.

研制信息
起草单位:

起 草 人:


归口单位:
ISO/IEC JTC 1/SC 2