A char type array that contains a unicode string including numeric characters, it will contain a NULL, NULL entire string to two end
I used the function + (id) stringWithCString: (const char *) cString encoding: (NSStringEncoding) enc
But the document so some explanation
cString
. A C array of bytes The array must end with a NULL character; intermediate NULL characters are not allowed
.
Intermediate string can not contain 0 How can I handle this situation?
Reply:
No comments:
Post a Comment