阅读背景:

如何在Objective-C / C / C ++中转换字符和字节位置

来源:互联网 

I need to convert from a byte position in a UTF-8 string to the corresponding character position in Objective-C. I'm sure there must be a library to do this, but I cannot find one - does anyone (though obviously any C or C++ library would do the job here).I need to convert from a byte position in a UTF




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

分享到: