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