IDENTITY_16BIT collator implements CESU-8 ( An8-bit compatibility encoding scheme for UTF-16).
IDENTITY16BIT排序器实现CESU-8(一种8位的兼容UTF-16的编码方案)。
互联网摘选
清单4内的代码显示了如何基于为这个collator所用的locale来对由捷克文组成的一个数组进行排序。
互联网摘选
在对比和排序之前,必须创建新的collator并为它指定一个locale:$coll=newCollator(“en_US”);。
互联网摘选
这个排序器确保所有字符(补充字符和非补充字符)采用与UTF-8一样的二进制排序次序。
互联网摘选
identity collator implements the character comparison based on the code point.
IDENTITY排序器实现基于编码点的字符比较。
互联网摘选
identity_16bit collator implements cesu-8 (an 8-bit compatibility encoding scheme for utf-16).
IDENTITY_16BIT排序器实现CESU-8(一种8位的兼容UTF-16的编码方案)。
互联网摘选