- (int)calc_charsetNum:(NSString*)_str{unsigned result = 0;c*****t char *tchar=[_str UTF8String];if (NULL == tchar) {return result;}result = strlen(tchar);return result;}NSString *t1 = @"你的心情123".t1.length 值应该是 7用这个函数值应该为 15