在Java中,String8(C++)和字符串有什么区别?
发布于 2014-04-02 04:39:28
据我所知:
Property java.lang.String android::String8
================================================================
language Java C++
Unicode yes yes
char width 16 8
encoding UTF-16 UTF-8
mutability immutable mutable
bunch of file path methods no yes
attitude to Darwin indifferent annoyed (line 47)它们都是Unicode字符串类型;相似之处似乎到此为止。
https://stackoverflow.com/questions/22794924
复制相似问题