摘要: NSString* str= @"teststring";NSData* data=[str dataUsingEncoding:NSUTF8StringEncoding]; //NSString转NSDatastr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; //NSData转NSString 阅读全文
posted @ 2011-10-20 17:42 Piosa 阅读(3122) 评论(0) 推荐(0) 编辑