We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我觉得你的理解似乎有点问题。你提到 utfcpp 里的 utf8to16 实际上是转 ucs-2,但这个说法是错的。UCS-2 和 UTF-16 的区别就是前者不支持 surrogate pair,不能支持 U+10000 及以上的 Unicode 字符。而 utf8to16 里的代码里是支持 surrogate pair 的,所以 utf8to16 这个名字完全没有问题。
utf8to16
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我觉得你的理解似乎有点问题。你提到 utfcpp 里的
utf8to16
实际上是转 ucs-2,但这个说法是错的。UCS-2 和 UTF-16 的区别就是前者不支持 surrogate pair,不能支持 U+10000 及以上的 Unicode 字符。而utf8to16
里的代码里是支持 surrogate pair 的,所以utf8to16
这个名字完全没有问题。The text was updated successfully, but these errors were encountered: