Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 ADAM 做了一些导出,我想知道我可以发送到 Unicode 字符串的最大字符是多少?
当前的 unicode 标准将代码点数设置为 1,114,112(即 10FFFF);当前用于字符的数字要小得多(标准的 v6 中为 109,384),不包括用户可定义的区域。如果您实际上是在字符中的最大字节数之后,那将取决于您使用的表示形式。例如,对于一个有效的代码点,UTF-8 将介于 1 到 4 个字节之间。