摘要:
NSStringEncodingenc=CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000);NSString*retStr=[[NSStringalloc]initWithData:dataencoding:enc];附:编码集列表CFStringEncodingconstants for encodings that may be supported by CFString.enum {kCFStringEncodingMacRoman= 0L,kCFStringEncodingMacJapane 阅读全文