阅读背景:

如何在utf-8字符串中获得给定字符的代码点号?

来源:互联网 

I want to get the UCS-2 code points for a given UTF-8 string. For example the word "hello" should become something like "0068 0065 006C 006C 006F". Please note that the characters could be from any language including complex scripts like the east asian languages.I want to get the UCS-2 code points for a given




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: