摘要:
//功能:获取字符串的UTF8编码//参数:好友名//参数:返回账户名的字符串//备注:11/3 lilin添加-(NSString*)EncodeUTF8Str:(NSString*)encodeStr{ CFStringRefnonAlphaNumValidChars =CFSTR("![ DISCUZ_CODE_1 ]’()*+,-./:;=?@_~"); NSString*preprocessedString = (NSString*)CFURLCreateStringByReplacingPercentEscapesUsingEncoding(kCFAlloc.. 阅读全文