标签:
文件的编解码操作需要借助中间类NSData
NSString *s = @"tsdfsdfsdfsdf";
NSData *data = [s dataUsingEncoding:NSUTF8StringEncoding];
s = [[NSString alloc] initWithData:data encoding:(NSUTF8StringEncoding)];
标签:
原文地址:http://www.cnblogs.com/wangbaixue/p/5202032.html